Skip to content

Instantly share code, notes, and snippets.

@nzatsepilov
Created September 27, 2017 13:18
Show Gist options
  • Save nzatsepilov/53d06658cc19da37aaf47a2c03010e46 to your computer and use it in GitHub Desktop.
Save nzatsepilov/53d06658cc19da37aaf47a2c03010e46 to your computer and use it in GitHub Desktop.
Forgot password invalid response
Original error message: "JSON could not be serialized because of error:\nThe data couldn’t be read because it isn’t in the correct format."
$ curl -v \
-X POST \
-u DABADOC_API_V1:DGDA4DMJQAEvZxobJ \
-H "Accept-Language: en;q=1.0" \
-H "User-Agent: dabadoc/1.0 (com.dabadoc.pro; build:2; iOS 10.3.0) Alamofire/4.5.0" \
-H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \
"https://staging.dabadoc.com/api/v1/fr/doctor/forgot_password?doctor_email=test%40test.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment