postmanpostman-flows

how to send json as input in postman flow


How can I use a Json as an input in a flow? Like the picture below. Of course, it sends this as a text and gives an error enter image description here


Solution

  • Here's what I had to do to get around this limitation (odd that Postman doesn't allow for it inherently):

    {}

    And then in the Collection endpoint, leave the body "raw" and use a variable:

    {}

    Anecdotally, the JSON I provided needed to have newline characters after each property removed -- just FYI in case you run into similar trouble.