Forum Discussion
Jim_Apple
17 years agoOccasional Contributor
Selecting "Post query string" fixed this for me. Here is a before and after of the posts if anyone is having the same problem. Not sure I understand whats going on here but it's working.
This was a "bad" request
POST /ScannerWebService/actions/store?scannerId=12341231&data=testdataHTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 0
And this was a "good" request
POST /ScannerWebService/actions/store HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 390
scannerId=12341231&data=testdata
This was a "bad" request
POST /ScannerWebService/actions/store?scannerId=12341231&data=testdataHTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 0
And this was a "good" request
POST /ScannerWebService/actions/store HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 390
scannerId=12341231&data=testdata