Check if HTTP/2 enabled using curl

To see if a web site have HTTP/2 enabled, you can run

If you see 2, the site have HTTP/2 enabled. Example

Here is a site with no HTTP/2

[…]

Read More…

Making POST request from curl

Here is an example POST request using curl

Sending JSON string

[…]

Read More…

Using Host Header in curl

When you have multiple web site hosted on a server, if you want to access one of the site using curl to IP of the server, then you need to pass Host header value. For example

If you want to show debug info, add –verbose

[…]

Read More…

curl

Making POST request from curl Using Host Header in curl curl set user agent Check if HTTP/2 enabled using curl Fetch as Google with curl To connect to proxy using Authenticated proxy, use

Proxy with IP auth example

To connect using Socks5 proxy running on 127.0.0.1 port 7070, run

Sent Multiple Rquests […]

Read More…