PHP Classes

Sit\Http: Send HTTP requests using the Curl extension

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 313 All time: 7,286 This week: 673Up
Version License PHP version Categories
sit-http 1.4BSD License5.4HTTP, PHP 5
Description 

Author

This class can send HTTP requests using the Curl extension.

It can send HTTP GET, POST, PUT, DELETE and OPTIONS requests to a server with a given URL.

The class my send as parameters regular form input values, or content in the XML or JSON format.

If the request fails, it may try to send the request again up to a number of attempts.

If the request succeeds, the class returns an array with the status code, response headers and body data.

Picture of Abraham Cruz Sustaita
Name: Abraham Cruz Sustaita <contact>
Classes: 5 packages by
Country: Mexico Mexico

  Files folder image Files (3)  
File Role Description
Files folder imageSit (1 file)
Accessible without login Plain text file index.php Example Use example
Accessible without login Plain text file index2.php Example Another example

  Files folder image Files (3)  /  Sit  
File Role Description
  Plain text file Http.php Class Wrapper para función curl de PHP

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:313
This week:0
All time:7,286
This week:673Up
User Comments (1)
good
11 years ago (Rahul Shambharkar)
70%StarStarStarStar