check_request_status: Check Request Status
Description
This function is called by other functions that submit jobs to
the Acoustic/Silverpop API. It checks the status code
returned and tells the user if there was an error code and
exits the function.
Usage
check_request_status(request_obj)
Value
If status code is not 200, a message to console