Created
December 23, 2014 19:30
-
-
Save mattneary/99cfeef743e0c41409ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s \ | |
-d '{ | |
"user": { | |
"email": "[email protected]", | |
"password": "password", | |
"password_confirmation": "password", | |
"profile_attributes": { | |
"gender": "m", | |
"name": "Matt Neary", | |
"age": 19, | |
"level": 1, | |
"location": "Columbus, OH" | |
} | |
} | |
}' \ | |
-H "Accept: application/json" \ | |
-H "Content-Type: application/json" \ | |
-H "X-Api-Token: xSJ7U0kYhtUHBYhhE5SDnA" \ | |
"http://practicegigs-staging.com/api/v1/users.json" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment