mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 19:39:25 +08:00
Add OPTIONS to methods with body list
Included HTTPVerb.options in the kMethodsWithBody constant to ensure OPTIONS requests are recognized as supporting a body.
This commit is contained in:
@@ -38,6 +38,7 @@ const kMethodsWithBody = [
|
||||
HTTPVerb.put,
|
||||
HTTPVerb.patch,
|
||||
HTTPVerb.delete,
|
||||
HTTPVerb.options,
|
||||
];
|
||||
|
||||
const kDefaultHttpMethod = HTTPVerb.get;
|
||||
|
||||
Reference in New Issue
Block a user