Custom Headers
Sometimes it is necessary to identify an answer in connection with the request.
For example, you are on a web-page that displays client account A information, and you are sending a request in the context of this client account A. While your are waiting for the response - which might take "some" time - the user moves on to another client account B.
If the response arrives it'll contain the data requested for account A, and you don't want to process this response data any longer because the context has moved to account B.
For example:
GET {{host}}/Docs/query?key=*&UserId=*&Context=*
Authorization: Basic {{basicToken}}
x-custom-boomiaccount: Account A
HTTP/1.1 200 OK
...
x-custom-boomiaccount: Account A
{ ... }
Last updated