Skip to content

Commit

Permalink
update restdemo json to reflect current parsing
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Martin <[email protected]>
  • Loading branch information
jmartin-tech committed Apr 29, 2024
1 parent 9d02629 commit 3e8db73
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions garak/resources/rest/restdemo.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "example service",
"uri": "https://localhost:37176/endpoint",
"method": "post",
"headers":{
"X-Authorization": "$KEY",
},
"req_template_json_object":{
"text":"$INPUT"
},
"response_json": true,
"response_json_field": "text"
}
"rest.RestGenerator": {
"name": "example service",
"uri": "http://localhost:37176/endpoint",
"method": "post",
"headers":{
"X-Authorization": "$KEY"
},
"req_template_json_object":{
"text":"$INPUT"
},
"response_json": true,
"response_json_field": "text"
}
}

0 comments on commit 3e8db73

Please sign in to comment.