For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/sapi/runtime/variables/SafeHttpMethod.md.
  • 简体中文
  • Variable: SafeHttpMethod

    const SafeHttpMethod: {
      get Get(): HttpRequestMethod;
      get Post(): HttpRequestMethod;
      get Put(): HttpRequestMethod;
      get Delete(): HttpRequestMethod;
    };

    Defined in: sapi/runtime/httpdb.ts:22

    跨版本兼容的 HttpRequestMethod(动态桥接 Bedrock 现代 PascalCase 与 npm 历史大写枚举)。

    Type Declaration

    NameTypeDefined in
    get GetHttpRequestMethodsapi/runtime/httpdb.ts:23
    get PostHttpRequestMethodsapi/runtime/httpdb.ts:27
    get PutHttpRequestMethodsapi/runtime/httpdb.ts:31
    get DeleteHttpRequestMethodsapi/runtime/httpdb.ts:35