16-10-24 01:59 PM
Hi All,
We create orders through API requests / HTTP requests (using the POST Method) by sending JSON files and saving the API response in text format.
But we are receiving junk data like below from the Response in HTTP and API.
Below is the blue prism object used for the HTTP Request
URL-Prod – Providing URL for creating an order.
Headers-Prod2 – We are providing headers in the collection format which have fields like Accept-Encoding and apikey.
API_JSON – We are providing the JSON text.
And the same data we used in the POSTMAN tool and we got a response in readable format. (POSTMAN is a tool used for testing the APIs), with this, we suspect that there is an issue with Blue Prism API/HTTP functions.
Below is the response we got from the POSTMAN tool. (We should get the same data in Blue Prism Object)
We tried with the latest version of HTTP VBO (10.0.2) however we faced the same problem.
Please can anyone suggest solutions to solve the issue.
21-10-24 02:36 PM
Blue Prism's 'Web API Services' and HTTP VBO have some limitations compared to POSTMAN/SOAPUI/etc., as BPE is not primarily designed to be Web Services software (as those are). One of these limitations is the inability to process/download binary data, resulting in the special characters in the response.
Have a look at the following Knowledge Base articles which discuss this scenario more in-depth, with some suggested workarounds that may help: