It is not possible to forcefully queue requests, this is conditionally managed by the endpoint considering several factors.
If a request has been queued, you will receive a HTTP 202 Accepted response and not a 200 OK. As per web standards for async processing, the 202 response contains a ‘Location’ header where the value is the URL which should be polled to check the status of the request. Whilst the request is processing you will continue to receive 202 Accepted responses until the job is complete whereby a 200 OK response and the processed data will be provided.
Configure your applications to correctly handle 202 responses.
For example:
0 Comments