Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created November 24, 2022 15:51
Show Gist options
  • Save eliasnogueira/eae0b09f1cd3931d699eb4cb59d5d7a5 to your computer and use it in GitHub Desktop.
Save eliasnogueira/eae0b09f1cd3931d699eb4cb59d5d7a5 to your computer and use it in GitHub Desktop.
[JavaAdvent] Simulation with a restriction
{
"name" : "Simulation request containing a restriction",
"request" : {
"url" : "/api/v1/simulations/",
"method" : "POST",
"bodyPatterns" : [
{
"equalToJson" : {
"cpf": "97093236014"
}
} ]
},
"response" : {
"status" : 403,
"bodyFileName" : "simulation_with_restriction_response.json",
"headers" : {
"Content-Type" : "application/json"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment