1

I have Windows and loaded the Windows version of Postman, but I want code snippets that don’t contain the Windows-based code in the snippet (Linux instead). Is there a setting I can change or something else I can do to fix this? For example, for Python Request snippet, the following, I believe, is due to Windows (/r/n):

payload = “{\r\n"id”: 2967, \r\n"name": …

I've tried looking at the settings in the applicatin.

payload = “{\r\n"id”: 2967, \r\n"name": …

I'm getting Windows-based code, but want only Linux-based code.

Mur
  • 11
  • 1

1 Answers1

0

That's not possible with Postman, your best best is going to be to copy and paste the code then search and replace those characters for Unix based ones.

so cal cheesehead
  • 2,515
  • 4
  • 29
  • 50
  • Would this be a possible solution? https://stackoverflow.com/questions/10418975/how-to-change-line-ending-settings#answer-10419350 – Mur Feb 13 '19 at 19:56