rajtrivedi2001 / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

POST stops working #92

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I have been able to use RESTClient for awhile but suddenly, POST stops
working. I have been doing the following all along:

1. start RESTClient, set SSL keystore/password/allow-all
2. issue a GET to a REST URL and see successfully response
3. issue a POST with a body content (on the top panel) but the same GET
response return.
4. Debug into the server, the server does receive a GET request
5. Repeat the same POST using a regular HTML form in browser, the server
successfully receives a POST request and the data is updated.

What is the expected output? What do you see instead?

POST should work.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by hackingb...@gmail.com on 3 Sep 2009 at 6:24

GoogleCodeExporter commented 8 years ago
BTW the content type is set correctly to text/xml

Original comment by hackingb...@gmail.com on 3 Sep 2009 at 6:25

GoogleCodeExporter commented 8 years ago
Figured out. The server redirects to the non-https URL. The browser seems to
correctly repost the content while RESTclient just does a GET to the redirected 
URL.

Original comment by hackingb...@gmail.com on 3 Sep 2009 at 8:06

GoogleCodeExporter commented 8 years ago
Great debugging :-)

Original comment by subwiz on 4 Sep 2009 at 3:08