Skip to content

Request method to function alias #282

@Aybee5

Description

@Aybee5

Describe the feature

Hi, is it possible to have the request method as a function alias on ofetch as it's on axios where we have something like
$fetch.get('url', {config})
$fetch.post('url', {config})

https://github.com/axios/axios#request-method-aliases

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