All requests should include a 'Authorization' header with an API key which will be provided.
Headers['Authorization'] = "Token token=abcabcabc"
If you don't have a token, email [email protected] to get one!
All responses will be provided in JSON format.
API testing can be done on the development server. Swap out the gmat.magoosh.com
portion of the
API endpoint with gmat.preview.magoosh.com
. Any actions performed on the preview
endpoint will
NOT change production information.
GET
: https://gre.magoosh.com/api/users/[email protected]&password=gmat&password_confirmation=gmat
Parameters:
email
: (required) the student's account email.password
: (required) the student's account password.
Note: special characters in the email must be URL encoded. [email protected] is not work properly. It would need to be formated like: zack%[email protected]
Another note: sometimes, when we think the email might have a typo, like in [email protected], we may deny the account creation, and in that case the user would either have to correct the typo or just try a second time
Successful response:
nothing will be returned except for a 201
created HTTP status