input:
curl --header "Content-Type: application/json" --request POST --data '{"email":"xyzuu@uw.edu","password":"xyzxyz", "passwordconf":"xyzxyz", "username":"iamtheuser", "firstname":"foo", "lastname":"bar"}' https://api.blabla/v1/users
out.put
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
I'm building a user authentication service. I keep getting this error when putting correct JSON body into a POST request for an API I created. The handler I created covers other instances (it's for user login, so if the passwords mismatch it returns an error, if the response body isn't correct it returns an error, etc). but for some reason I am getting this. :(
The API is deployed to an AWS ec2 instance and containerized with Docker.