PHP Class Prose\FromCurl

great for testing APIs
Inheritance: extends Prose
Afficher le fichier Open project: datasift/storyplayer

Méthodes publiques

Méthode Description
get ( mixed $url, array $params = [], array $headers = [] ) : object | string get

Method Details

get() public méthode

get
public get ( mixed $url, array $params = [], array $headers = [] ) : object | string
$url mixed URL to request
$params array GET params to add to the URL
$headers array HTTP headers to use
Résultat object | string Response sent by the server. If it's JSON, we'll decode it