Ask coding questions

← Back to all posts
Django Rest POST request returns "Bad Request /url/"
h
mdb571 (2)

I'm trying to deploy a django REST API project on replit.I'm able to send GET requests but the server return 'Bad Request' when i try to send a POST request. Any workaround for this?

Comments
hotnewtop
mdb571 (2)

Finally after hours of debugging, found a fix... it was due to a wrongly installed package

DynamicSquid (5023)

@mdb571 Oof, those kind of mistakes are so simple but cause so much pain :(