Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of arbitrary HTTP method #47

Open
fuweichin opened this issue May 4, 2023 · 0 comments
Open

Allow use of arbitrary HTTP method #47

fuweichin opened this issue May 4, 2023 · 0 comments

Comments

@fuweichin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant