skip to Main Content

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
HTTP Settings

Run history

Run history

Receiving API

Received by API

From the last screenshot you can see that there are enclosing quotes on the receiving API.

How do I remove these?

Thanks

2

Answers


  1. Chosen as BEST ANSWER

    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.


  2. How do I remove these?

    AFAIK, this is not possible, as it is not the issue with logic app, as logic app is sending body this way:

    enter image description here

    Postman mock server api is taking string or plain text with quotations as below:

    enter image description here

    The request body has quotations even for content-type : text/csv also.

    To test when I send json as input :

    enter image description here

    I got something like this:

    enter image description here

    So AFAIK, the quotations cannot be removed as you sending text.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search