RQMConnectionHelper.putToServer() always get http 500 error
I'm integrating RQM2.0 with RTC,in my code there uses a snippet RQMConnectionHelper.putToServer(urlLink, xmlDoc),but always get http 500 error ,did it not work well...When I use RQMConnectionHelper.getFromServer,this method can work well...I don't know if RQM2.0 didn't provide putToServer method work well or not ???Thank you for your reply~
One answer
A response code of 500 is "internal server error".
One thing to check is the content that you are PUTing to the server.
As a sanity check, try doing a GET on existing content, then PUT that same content back to the server. That should work without problem. If it does, then it is time to start looking at the content that you are PUTing when you get the 500.
Regards,
John
One thing to check is the content that you are PUTing to the server.
As a sanity check, try doing a GET on existing content, then PUT that same content back to the server. That should work without problem. If it does, then it is time to start looking at the content that you are PUTing when you get the 500.
Regards,
John
I'm integrating RQM2.0 with RTC,in my code there uses a snippet RQMConnectionHelper.putToServer(urlLink, xmlDoc),but always get http 500 error ,did it not work well...When I use RQMConnectionHelper.getFromServer,this method can work well...I don't know if RQM2.0 didn't provide putToServer method work well or not ???Thank you for your reply~