Skip to content

Instantly share code, notes, and snippets.

@maltzsama
Last active September 2, 2017 15:06
Show Gist options
  • Save maltzsama/c7b8863ec39f13fd6a747e4e2761c254 to your computer and use it in GitHub Desktop.
Save maltzsama/c7b8863ec39f13fd6a747e4e2761c254 to your computer and use it in GitHub Desktop.
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
curl -H "Content-Type: application/json" -X GET \
-d '{
"persons_id": 5
}' \
http://173.236.199.226/app/reprogramese/projects.json
{
"project": null
}%
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