Skip to content

Get an execution HTTP response

Get the HTTP response of a cron job execution.

Method

GET

Endpoint

https://api.easycron.com/v1/cron-jobs/{cron_job_id}/http-responses/{http_response_id}

Example API call

Terminal window
curl \
--include \
--request GET \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <API_KEY>' \
"https://api.easycron.com/v1/cron-jobs/{cron_job_id}/http-responses/{http_response_id}"

Example Success Response

{
"http_response": "HTTP_RESPONSE"
}

Example Failure Response

Together with the HTTP code of the error, the following error message will be responded:

{"message":"ERROR_MESSAGE"}