1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Linux の curl コマンドで OPTION のリクエストを送るには curl -X OPTIONS <URL> ( #Linux )

Last updated at Posted at 2019-11-13

$ curl -v -X OPTIONS http://example.com

*   Trying 93.184.216.34...
* TCP_NODELAY set
* Connected to example.com (93.184.216.34) port 80 (#0)
> OPTIONS / HTTP/1.1
> Host: example.com
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Allow: OPTIONS, GET, HEAD, POST
< Cache-Control: max-age=604800
< Content-Type: text/html; charset=UTF-8
< Date: Wed, 13 Nov 2019 00:11:50 GMT
< Expires: Wed, 20 Nov 2019 00:11:50 GMT
< Server: EOS (vny006/0453)
< Content-Length: 0
<
* Connection #0 to host example.com left intact
* Closing connection 0

Original by Github issue

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?