OK guys, I have tried TONS of code examples the past 24 about how to do this but I couldn't get any thing to work.
I simply want to pass a JSON body to an URL.
Every thing is working right using cURL in BASH, I even tried to us
Runtime.getRuntime().exec("curl.....");
but even that doesn't pass the JSON body, in fact I have succeeded in sending the http request with Runtime.getRuntime().exec(str) and couple of other ways, but NONE of them passed the JSON body.
I will appreciate any help.