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 923 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 (13)
ASP (11)
CFML (22)
CSS (43)
Flash (2)
HTML5 (31)
Java (7)
JavaScript (24)
jQuery (111)
PHP (156)
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

Oct 1, 2024
Submit URL to ExactSeek

Dec 4, 2023
Snap Builder

Dec 4, 2023
Awesome Images

Dec 7, 2021
Contact Us plugin

Sep 4, 2021
Images Uploads via API Script
Snap Builder Webmaster Resource Directory