04 Feb 2025
08:32 AM
- last edited on
10 Feb 2025
01:07 PM
by
MaciejNeumann
Sometimes when I make a POST API call to dynatrace through python, I get 202 as the response status code, meaning the request was accepted but is still being processed.
My final goal is to get the final json response, hence I need a way to check the status of long-running requests. In general, 202 response often includes a Location header, which provides a URL where you can check the status of your request. But dynatrace does not include the location header in the 202 response.
Could anyone help me with the specific endpoint or method for checking long-running operations for dynatrace?
09 Feb 2025 06:59 AM
Hi @ni5hat
Under Dynatrace API - Response codes the follows is written:
In case when a successful request may return different codes, it is specified in the description of the request.