Summary of Postman Issues

Original link: https://lewky.cn/posts/postman-issues/

logo.png

Unable to change the encoding of the request message

When testing the interface, it was found that specifying the encoding as GBK with ContentType in the Header has no effect. The packets received by the server are always UTF-8 encoded byte arrays. After consulting the data, I came to the conclusion that Postman restricts the encoding of the request message to UTF-8, which cannot be modified through configuration, etc. If you need to use other encodings, you can either use other HTTP tools or write a piece of code in Java to Test the interface.

This article is reprinted from: https://lewky.cn/posts/postman-issues/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment