0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

URL欄からpostできるブックマークレット作った

Posted at

準備

以下を、それぞれブックマークのURLに貼り付けて保存する。

  • postmanにpost
javascript:var form = document.createElement('form');document.body.appendChild(form);form.setAttribute('action', 'https://postman-echo.com/post');form.setAttribute('method','POST');form.submit();
  • 指定したURLにpost
javascript:var form = document.createElement('form');document.body.appendChild(form);form.setAttribute('action', window.prompt(%27任意のURLを入力してください%27,%27https://postman-echo.com/post%27));form.setAttribute('method','POST');form.submit();

image.png

実行

実行時に押下するだけ。

今後の展望

送信データも設定できるようにしたい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?