Back

SDK's `ExecutionMethod` Type does not contain all HTTP Methods

  • 0
  • Functions
Expo
14 Mar, 2024, 19:43

The Appwrite SDK defines the enum ExecutionMethod as ```ts export declare enum ExecutionMethod { GET = "GET", POST = "POST", PUT = "PUT", PATCH = "PATCH", DELETE = "DELETE", OPTIONS = "OPTIONS" }

TypeScript
(`appwrite@14.0.0/types/enums/execution-method.d.ts`)

This does not include all values inside of [the HTTP Spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for HTTP methods.

Not sure if this is intentional - as such I'm opening a support ticket before going through with making a bug report for this one.
TL;DR
The SDK's `ExecutionMethod` enum does not include all HTTP Methods specified in the HTTP Spec. Developers are uncertain if this is intentional and are seeking support before filing a bug report.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more