saci/req

HTTP requests and XPATH queries in a simpler way

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/saci/req

1.0.0 2015-11-15 01:18 UTC

This package is not auto-updated.

Last update: 2025-10-12 00:46:55 UTC


README

alt tag

saci/req

HTTP requests and XPATH queries in a simpler way

##Install

Including to your current composer.json

Add this line into require in your composer.json:

"saci/req": "*"

and use autoload.php to include the classes

##Example usage

require 'vendor/autoload.php'

$req=New \Saci\Req('http://www.google.com');

$req->query("//a[@class='gbgt']");

###Documentation

####Input Parameters

#####method Description: Any HTTP Method: GET, POST, PUT, DELETE

Type: String

Default: GET

#####fields Description: Fields for Post Requests

Type: String or Array

Default: GET