resrever
2011-11-09 09:58:52 UTC
Hello,
there is a website using DWR. I would like to acces its API from my Java desktop application. Calling the API HTTP POST requests works fine, but the response is JavaScript code. Is there a parameter or something I could pass into my request so I get a response in a different format? Like JSON or XML? Or is parsing the JavaScript response the only way to go?
Thank you!
there is a website using DWR. I would like to acces its API from my Java desktop application. Calling the API HTTP POST requests works fine, but the response is JavaScript code. Is there a parameter or something I could pass into my request so I get a response in a different format? Like JSON or XML? Or is parsing the JavaScript response the only way to go?
Thank you!