PHP Classes

How to Send a PHP REST API Call without CURL: Send API HTTP requests using PHP file_get_contents

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 169 This week: 2All time: 8,845 This week: 96Up
Version License PHP version Categories
connectrestapi 1.0.0MIT/X Consortium ...5HTTP, PHP 5, Web services
Description 

Author

This class can send API HTTP requests using PHP file_get_contents.

It can take as parameter options that define several aspects of sending an HTTP request to an API Web server, such as the HTTP method, request content data, and timeout period.

The class sends the HTTP request using the PHP file_get_contents function and returns the server response data returned by that function.

Picture of adam berger
  Performance   Level  
Name: adam berger <contact>
Classes: 23 packages by
Country: Poland Poland
Age: ???
All time rank: 74621 in Poland Poland
Week rank: 52 Up3 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file ClassConnectRestApi.php Class Class source
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:169
This week:2
All time:8,845
This week:96Up