Hi guys, i deployed my django api on pythonanywhere
when i pass the following data
{ "first_name" : "Eli", "last_name" : "Gut", "email" : "eligut@gmail.com", "phone_number" : "09022506312", "password" : "qwertyuiop"}
i get this response
HTTP 400 Bad Request
Allow: GET, OPTIONS, POST
Content-Type: application/json
Vary: Accept
{
"message": "Something went wrong",
"error": {
"first_name": [
"This field is required."
],
"last_name": [
"This field is required."
],
"email": [
"This field is required."
],
"phone_number": [
"This field is required."
],
"password": [
"This field is required."
]
}
}
but it works perfectly in development