How-to articles, tricks, and solutions about CURL

Post Requests with cURL

cURL is applied for making requests with different protocols. A post request can send user collected data to a server. Find out how to do that accurately.

Remote file size without downloading file

In PHP, you can use the get_headers() function to retrieve the headers of a remote file.

Save image from url with curl PHP

To save an image from a URL using PHP and cURL, you can use the following function:

Use cURL with SNI (Server Name Indication)

Server Name Indication (SNI) is an extension to the Transport Layer Security (TLS) protocol that allows a client to specify the hostname it is trying to connect to at the start of the handshaking process.

What's the net::ERR_HTTP2_PROTOCOL_ERROR about?

net::ERR_HTTP2_PROTOCOL_ERROR is an error that occurs in the Google Chrome browser when there is an issue with the HTTP/2 protocol.

1 2