misc/example.txtより抜粋! 一番上に「# -*- http -*-」と書くことで、 そのファイルを再び開いたときは自動的にhttp-modeになります。 # -*- http -*- # はコメント # GETリクエストは単純に1行でよい # ## 自分のIPアドレス GET https://httpbin.org/ip ## xmlを表示する GET https://httpbin.org/xml ## ヘッダをつける POST https://httpbin.org/post?foo=bar User-Agent: Emacs24 ## POSTリクエスト # ヘッダとデータの間には空行を入れる POST https://httpbin.org/post?val=key User-Agent: Emacs24 Content-Type: application/json