diff --git a/garak/resources/rest/restdemo.json b/garak/resources/rest/restdemo.json index 791a555c9..acdb8b8b1 100644 --- a/garak/resources/rest/restdemo.json +++ b/garak/resources/rest/restdemo.json @@ -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" + } +} \ No newline at end of file