'Issue with retrofit post call with json parameter

I have a problem with the following post URL call:

https://url?filter={"text":"*"}&response_format=object

I get 406 HTTP code but when calling in postman it's OK. If anyone could help me I would appreciate 🙏🏼



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source