Skip to content

Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs

License

Notifications You must be signed in to change notification settings

flextype-components/curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curl Component

version MIT License

The Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs

Installation

composer require flextype-components/curl

Usage

use Flextype\Component\Curl\Curl;

Performs a curl GET request.

$res = Curl::get('http://site.com/');

Performs a curl POST request.

$res = Curl::post('http://site.com/login');

Gets information about the last transfer.

$res = Curl::getInfo();

License

See LICENSE

About

Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages