Before I’ve got this error, I encounter first CORS problem with my put request so I tried to add this on env
- CORS_ALLOWED_ORIGINS=*
- CORS_DEBUG=true
- CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,PATCH
- CORS_ALLOWED_CREDENTIALS=true
- CORS_ALLOWED_HEADERS=Authorization,Accept,Accept-Language,Content-Language,Content-Type
And the CORS problem is gone. Now I have another problem. The return of my put request in accept and login request is an error.
error: “error”
error_debug: “EOF”
error_description: “The error is unrecognizable.”
btw, I’m using meteor http for requesting rest api
Thanks in advance.