I am using a string variable to populate the body of an HTTP request. The API call is made but there are quote enclosing the string value.
HTTP settings
Run history
Receiving API
From the last screenshot you can see that there are enclosing quotes on the receiving API.
How do I remove these?
Thanks
2
Thanks for the input on Postman adding the quotes, I called the mock API from Postman and it also added quotes.
I figured out the that quotes were a red herring, the destination API I was calling was failing for a different reason.
All good now, thanks for your support.
AFAIK, this is not possible, as it is not the issue with logic app, as logic app is sending body this way:
Postman mock server api is taking string or plain text with quotations as below:
The request body has quotations even for content-type : text/csv also.
To test when I send json as input :
I got something like this:
So AFAIK, the quotations cannot be removed as you sending text.
Click here to cancel reply.
2
Answers
Thanks for the input on Postman adding the quotes, I called the mock API from Postman and it also added quotes.
I figured out the that quotes were a red herring, the destination API I was calling was failing for a different reason.
All good now, thanks for your support.
AFAIK, this is not possible, as it is not the issue with logic app, as logic app is sending body this way:
Postman mock server api is taking string or plain text with quotations as below:
The request body has quotations even for content-type : text/csv also.
To test when I send json as input :
I got something like this:
So AFAIK, the quotations cannot be removed as you sending text.