Are cURL and HttpRequest same?


Recommended Answers

All 4 Replies

well cURL is actually a program in and of itself which can send http requests along with a large number of different protocols. Usually an "HttpRequest" is a Javascript object used to make AJAX calls.

They are not same , cURL uses httprequest .

cURL is a bit more advanced and powerful then!!!

cURL is a bit more advanced and powerful then!!!

Let's read the manual. :-)
PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP's ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.