fix: Add all HTTP methods

This commit is contained in:
Ankush Menat 2023-08-10 11:04:30 +05:30
parent 3bda258784
commit f7a62bc6dd
2 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@
"fieldtype": "Select",
"in_standard_filter": 1,
"label": "Method",
"options": "GET\nPOST"
"options": "GET\nPOST\nPUT\nDELETE\nPATCH\nHEAD\nOPTIONS"
},
{
"fieldname": "sql_queries",
@ -103,7 +103,7 @@
"index_web_pages_for_search": 1,
"is_virtual": 1,
"links": [],
"modified": "2023-08-07 14:47:10.047280",
"modified": "2023-08-10 11:04:16.513833",
"modified_by": "Administrator",
"module": "Core",
"name": "Recorder Request",

View file

@ -23,7 +23,7 @@ class RecorderRequest(Document):
cmd: DF.Data | None
duration: DF.Float
form_dict: DF.Code | None
method: DF.Literal["GET", "POST"]
method: DF.Literal["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]
number_of_queries: DF.Int
path: DF.Data | None
request_headers: DF.Code | None