I am developing a android app in which i am using services module, i configured the module. From android when i call http get method it worked. I am getting the bad request error when i use the http post, delete and put method. i am also passing cookies and X-CSRF-TOKEN in header of the method while in poster all the http method work.
Please help me to solve the problem.

Comments

marcingy’s picture

Priority: Critical » Normal

Support issues are never critical

janpan’s picture

I am experiencing the exact same problem. I have no problem with get requests or loging in. When I do a post I send through the session name and id in the cookie or header and also csrf token is sent through in header , but I get bad request 400. Any ideas or help ? Have the above issue been resolved and if so, please tell me how this was solved. Thx.

janpan’s picture

I am experiencing the exact same problem. I have no problem with get requests or loging in. When I do a post I send through the session name and id in the cookie or header and also csrf token is sent through in header , but I get bad request 400. Any ideas or help ? Have the above issue been resolved and if so, please tell me how this was solved. Thx.

shushu’s picture

Same here.
Getting 400 Bad request without any clear reason...
There is also no error message in the logs, which makes it even harder to debug

shushu’s picture

Status: Active » Closed (works as designed)