A custom office desktop app now has a connection to an external accounting software which uses a desktop app to offer a REST Api using JSONItems to communicate.
I use CurlMBS to talk to it, and while it looked like everything worked, we now encounter issues when strings containing umlauts or other special characters are being sent. The API is UTF8 capable (fun fact: It’s built in Xojo), and I checked that the JSON string curl sends is UTF8 encoded too.
When I copy the JSON string from the debugger and insert it into the built-in test client, everything works as expected.
Do I miss a Curl option to set up text encoding correctly, or could it be anything else related to curl?
Sadly the API only returns a “Parameter error” with no more further information. And without special characters the curl command works from inside my app.