Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Last active Nov 24, 2022
Embed
What would you like to do?
[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