This function is called by other functions that submit a requests to revulytics API. It checks the status code returned and tells the user if there was an error code and exits the function.
1 | check_status(request_obj)
|
If status code is not 200, returns a message to console with appropriate error message and stops execution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.