Forum Discussion

Karlan's avatar
Occasional Visitor
6 years ago

How to include a Line Feed in a application/x-www-form-urlencoded post through 'Try it now'?



Using the 'Try it now' feature, my values currently requires a line feed as I am posting columns and values in a CSV format, via  application/x-www-form-urlencoded  e.g.


First Name, Last Name

Joe, Bloggs


where after Last Name would be a line feed.


I cannot seem to pass a line feed in the text box.  I have tried using %0A to URL encode the line feed, but Swagger then url encodes % again, making it %250A, which means the data is incorrect from a processing perspective.


It works fine with a application/json post but I would really like a working example with application/x-www-form-urlencoded.


How can I submit a line feed as part of my value?








No RepliesBe the first to reply