You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sending a request to the API. HTTP Client duplicates the response body. As a result, when accessing the "data" property, I get an exception: "Syntax error".
Example, the object must be of the format: "tid":4828,"dcid":{"x":482222},"paid":true,"error":[]}
But in the HTTP Client response (when using the getContent() method): {"tid":4828,"dcid":{"x":482222},"paid":true,"error":[]}{ "tid": 4828, "dcid": { "x": 482222 }, "paid": true, "error": [] }
I thought it was a vendor problem, but by sending a request through Postman, I received a valid response. (screenshot)
Description
I am sending a request to the API. HTTP Client duplicates the response body. As a result, when accessing the "data" property, I get an exception: "Syntax error".
Example, the object must be of the format:
"tid":4828,"dcid":{"x":482222},"paid":true,"error":[]}
But in the HTTP Client response (when using the getContent() method):
{"tid":4828,"dcid":{"x":482222},"paid":true,"error":[]}{ "tid": 4828, "dcid": { "x": 482222 }, "paid": true, "error": [] }
I thought it was a vendor problem, but by sending a request through Postman, I received a valid response. (screenshot)
Request Object: https://pastebin.com/kU0kPWnQ
Response Object: https://pastebin.com/WCgEik1p
Some values have been replaced for safety
What steps will reproduce the problem?
Unfortunately, it is not known exactly. I am using this API, method: https://apirosreestr.ru/api/#Cadaster/Orders
What's expected?
Valid JSON format like:
{"tid":4828,"dcid":{"x":482222},"paid":true,"error":[]}
What do you get instead?
Duplicate json that is invalid like:
{"tid":4828,"dcid":{"x":482222},"paid":true,"error":[]}{ "tid": 4828, "dcid": { "x": 482222 }, "paid": true, "error": [] }
Additional info
The text was updated successfully, but these errors were encountered: