Skip to content

Add types to fetch methods #1957

@Bashamega

Description

@Bashamega

Currently, the fetch method is a string, but not all values are valid. We should specify the allowed HTTP methods.
Reference: MDN - HTTP Methods.
I can create a PR for this, but we need a way to handle case insensitivity when checking the method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions