Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Last active November 24, 2022 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliasnogueira/96401efba7c6daf66b53218affdc2e9b to your computer and use it in GitHub Desktop.
Save eliasnogueira/96401efba7c6daf66b53218affdc2e9b to your computer and use it in GitHub Desktop.
[JavaAdvent] Post example, trying to create a simulation where the CPF has a restriction
curl -X 'POST' \
  'http://localhost:8089/api/v1/simulations/' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{
   "cpf": "97093236014",
   "email": "john.doe@gmail.com",
   "name": "John Doe",
   "installments": 3,
   "insurance": true,
   "amount": 1200
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment