cancel
Showing results for 
Search instead for 
Did you mean: 

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

Karlan
Occasional Visitor

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

Hi

 

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?

 

Thanks

 

Karlan

 

 

 

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors