Skip to content

Instantly share code, notes, and snippets.

@lemesdaniel
Last active March 10, 2016 00:28
Show Gist options
  • Save lemesdaniel/c22d44b72df2c5946c4e to your computer and use it in GitHub Desktop.
Save lemesdaniel/c22d44b72df2c5946c4e to your computer and use it in GitHub Desktop.
example
\Unirest\Request::defaultHeader("Authorization", "Bearer ".$token);
\Unirest\Request::defaultHeader("Content-Type", "application/json");
$response = \Unirest\Request::get("https://connect.squareup.com/v1/me");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment