Troubleshooting: Changes to the header if English is not the default language
Make changes to the header if the language is not English while using postman.
Problem
Customers receive results when they search in Chinese on the storefront. However, they receive no or zero results when they execute the same search query in Postman with the Chinese language Id set to -7.
Solution
Customers must provide Content-Type: text/html;charset=UTF-8
in the
header to receive a response. This must be included for languages other than English
if the consumer receives data for the same query on the storefront and does not
utilize the search API only.