Last active
September 2, 2017 15:06
-
-
Save maltzsama/c7b8863ec39f13fd6a747e4e2761c254 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
curl -H "Content-Type: application/json" -X POST -d | |
'{ | |
"username": "mltz", | |
"password": "@123qwer", | |
"person": | |
{ | |
"nome": "Nelson Mota", | |
"data_nascimento": "1988-05-09", | |
"email": "[email protected]", | |
"peso": 80, | |
"altura": 1.65, | |
"sexo": "M", | |
"numero": "04", | |
"complemento": "Rua", | |
"cep": "69090240", | |
"estado": "Amazonas", | |
"cpf": "09909809801", | |
"rg": "1231231-2", | |
"telefone": "999999999", | |
"cidade": "Manaus" | |
} | |
}' | |
http://173.236.199.226/app/reprogramese/users/add.json |
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
curl -H "Content-Type: application/json" -X GET \ | |
-d '{ | |
"persons_id": 5 | |
}' \ | |
http://173.236.199.226/app/reprogramese/projects.json | |
{ | |
"project": null | |
}% |
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
curl -H "Content-Type: application/json" -X POST \ | |
-d | |
'{ | |
"username": "mltz", | |
"password": "@123qwer" | |
}' \ | |
http://173.236.199.226/app/reprogramese/users/login.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment