Search code examples
requestheaderpostman

Unable send Postman request when header contains Japanese character


Header field in Postman:

--header 'Dropbox-API-Arg: {"path": "/テスト自動化/test.xlsx"}'

And next to this field has an warning:

value contains non iso 8859 1 characters 

I got error response when sending request:

Could not send request
Error: Invalid character in header content ["Dropbox-API-Arg"]

Could someone have any idea to fix it?

enter image description here enter image description here


Solution

  • Try selecting the text in Postman and right clicking, then select EncodeURIComponent in the context menu