The 202 response should return a header with key name of "Location" and value of monitor working status URL.
Calling this monitor-working-status URL then return:
-
200 OK when the request is still pending.
-
201 Created when the request has been completed.
The Response in case of GET/PUT/POST should contain the Location to the requested/created/updated resource.
https://docs.microsoft.com/zh-tw/azure/architecture/patterns/async-request-reply
https://github.com/mcumcu/two-oh-two
https://stackoverflow.com/questions/5079367/use-http-status-202-for-asynchronous-operations
https://stackoverflow.com/questions/26199228/is-the-use-of-location-header-in-http-202-response-rfc-compliant?noredirect=1&lq=1