When I call the API, it is giving an error, Bad Request, and when the same API is called from Postman, I am receiving proper result. (using same credentials).
I am not even using the last output anymore, I have rather just created another HTTP request and directly pasting the curl from postman that is working there.
Hi there,
first of all, If this answers your question, please mark it as the solution and give it a like
seconde of all
why the error is happening on your node and not in postman it’s because your node is missing some headers, while postman already configured the header automatically
you need to add 2 more header for it to be the same as your postman
I got this response, which is still wrong because the Mime Type of this binary data is coming as application/json whereas it should be either png or jpeg type.
And i verified it by converting the binary data into base64 and trying to see image from base64, It gave this error Your browser cannot display the file as “image/plain”.