Hello, I'm having some problems interacting with a JSON API and I'm pretty much out of ideas on where to go from here. It's kind of hard to post examples because I'm not really able to share the information that I'm trying to send...
Anyway, the problem is this: whenever I try to send a character like ß or any non-US characters I get an error back saying that my JSON is unprocessable. If I try the exact same string via curl though from the command-line it's fine, no issues. I'm wondering if Perl is somehow having problems with the encoding... I'm just using LWP::UserAgent to send my json strings and it works for any entries that don't have non-US characters. I know this is kind of vague, I just can't be too specific... maybe somebody has experienced something similar to this before too? Any help would be greatly appreciated!
One odd thing is that if I do a Data::Dumper on my LWP::UserAgent object after sending my json request, if I check out the content of my request it looks just fine... I can literally copy and paste the json string from my request dump into curl and it works
Thanks,