\libSimplecurl

Summary

Methods
Properties
Constants
get()
post()
put()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get()

get(string  $url, array  $params = array()) : string

Performs a get request on the chosen link and the chosen parameters in the array.

Parameters

string $url
array $params

Returns

string —

returns the content of the given url

post()

post(string  $url, array  $fields = array()) : string

Performs a post request on the chosen link and the chosen parameters in the array

Parameters

string $url
array $fields

Returns

string —

returns the content of the given url after post

put()

put(string  $url, array  $fields = array()) : string

Performs a put request on the chosen link and the chosen parameters in the array.

Parameters

string $url
array $fields

Returns

string —

with the contents of the site