apache - Django Server Reports POST Request as GET; Drops POST Data -


on local machine, if use:

./manage.py runserver 0.0.0.0:8000 

i can make post requests server , appear in terminal word post.

however, if ssh remote server , type:

./manage.py runserver 0.0.0.0:8000 

then if make post request remote server, gets received terminal says request instead reason. post data dropped request.

i having bit of difficulty determining problem is. not think django since runserver works fine locally, , not think apache since using runserver on remote machine. router settings of kind?

any suggestions on how proceed problem appreciated.

edit: clarify, testing using google chrome extension called postman allows manually send post requests. when tried locally, had csrf token issues, decorated applicable view csrf_exempt , works locally. however, remote server still dropping post data , reports method being get.

i found out wrong postman, when used curl generate post requests, had no issues.

still not sure why postman worked locally not remotely though.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -