cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving Junk data from HTTP/API Response

AThriveni
Level 2

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.

AThriveni_0-1729083432303.png

 

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.

AThriveni_1-1729083432311.png

 

 

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)

AThriveni_2-1729083432313.png

 

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.

1 REPLY 1

steven.boggs
Staff
Staff

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: