Last active
November 24, 2022 15:45
-
-
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
This file contains 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 -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