Error code 400 is a server side error. I means the server didn't understand your request. If I was to take a guess it would have to do with your input string. It does not appear to be written in the normal way variables are sent in post. That being said, a server can be written to accept the variables any way it wants to. But if it is the reason this is how the string should look.
name=value&name2=value2
You get the idea. Also JDoodle is a pay service. Most pay services will help you, they don't want to lose a client.
Answer from Drivers Sea on Stack OverflowAny free, or cheap, online compilers for Python and Java?
How to implement jdoodle API to compile and run java programs in Android Studio? - Stack Overflow
guess what guys!!!(jdoodle is a java compiler)
Can I do AP Comp Sci A with JDoodle (Online Java Complier)?
Videos
I'm trying to make an online editor and compiler for my students to run code on. Yes, there are some out there but they don't fit my needs.
I've been able to use OneCompiler's API through RapidAPI but it costs a bit too much. Is there an open source compiler I can run on a server and connect to? I've tried use Codex-API but can't get the darn thing to work. It needs me to setup a docker container and such but I get errors. Not sure if it's a me thing or not so I'm looking for guidance from y'all with other possible solutions that I might be missing. Thanks.