Requests is a HTTP library written in PHP, for human beings. It is roughly based on the API from the excellent Requests Python library. Requests is ISC Licensed (similar to the new BSD license) and has no dependencies, except for PHP 5.2+.

Despite PHP's use as a language for the web, its tools for sending HTTP requests are severely lacking. cURL has an interesting API, to say the least, and you can't always rely on it being available. Sockets provide only low level access, and require you to build most of the HTTP response parsing yourself.

We all have better things to do. That's why Requests was born.

Requests allows you to send HEAD, GET, POST, PUT, DELETE, and PATCH HTTP requests. You can add headers, form data, multipart files, and parameters with simple arrays, and access the response data in the same way. Requests uses cURL and fsockopen, depending on what your system has available, but abstracts all the nasty stuff out of your way, providing a consistent API.

General

Price: Free
Snap Builder Jan 9, 2015 450 Views

Reviews

Guest

Overall Rating:

Comments

No comments have been left here yet.

Safety

captchaPlease input letters you see on the image.
Click on image to redraw.

Directory Categories

Ajax (12)
ASP (11)
CFML (22)
CSS (44)
Flash (2)
HTML5 (30)
Java (7)
JavaScript (24)
jQuery (111)
PHP (157)
Plugins (44)

Sponsored Listings

Initializr HTML5 Templates Generator

http://www.initializr.com/

Initializr is an HTML5 templates generator to help you getting started with a...

Translate To:

Latest Comments

This is an excellent resource!

on Oct 4, 2015
about HTML5 UP! Responsive HTML5 and CSS3 Site Templates

Recent Reviews

Jul 24, 2020
Snap Builder

Aug 11, 2019
Free Code Camp

Aug 3, 2019
Nevron Software LLC

Jun 4, 2018
Elf Qrin's Cyber Lab

Jan 15, 2016
Khan Academy
Snap Builder Webmaster Resource Directory