Skip to content

Allow use of arbitrary HTTP method #47

@fuweichin

Description

@fuweichin

Some web browsers (with Fetch API) support arbirary HTTP method except 'CONNECT'(reserved) and 'TRACE'(blocked in purpose), some web servers (with Servlet API) support arbirary HTTP method except 'CONNECT' (not implemented) and 'TRACE' (disabled by default).

The HTTP method select box of Postcode contains 7 options, I cannot use arbitrary HTTP methods which I can use with Fetch API, like WebDAV's methods, or custom methods.

To support input of arbitraty HTTP method, one approach is to make the select box editable, e.g. in HTML you can change something like <select name="method"> with <input type="text" name="method" datalist="httpMethods"><datalist id="httpMethods">.

B.T.W:

The RAW format select box of Postcode contains only 4 options, I cannot send arbitrary data formats (content types) which I can send with Fetch API, like 'application/csp-report'.

I'm a Postman user, nowdays Postman becomes unfriendly to my GPU, it comes with various issues: blackscreen/stuck, so I'm looking for a lightweight solution, maybe it's Postcode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions