mirror of
https://github.com/foss42/apidash.git
synced 2025-12-04 20:13:56 +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.put,
|
||||||
HTTPVerb.patch,
|
HTTPVerb.patch,
|
||||||
HTTPVerb.delete,
|
HTTPVerb.delete,
|
||||||
|
HTTPVerb.options,
|
||||||
];
|
];
|
||||||
|
|
||||||
const kDefaultHttpMethod = HTTPVerb.get;
|
const kDefaultHttpMethod = HTTPVerb.get;
|
||||||
|
|||||||
Reference in New Issue
Block a user