NAME
Client
FUNCTIONS
- new($config)
-
Create a new Client
Parameters
$config
Config object - get_oauth_client
-
Initialize OAuth client - get
-
GET request to protected resourceParameters
$uri
Resource URL$params
Hash of parametersReturn value
String - post
-
POST request to protected resourceParameters
$uri
Resource URL$params
Hash of parametersReturn value
String - put
-
PUT request to protected resourceParameters
$uri
Resource URL$params
Hash of parametersReturn value
String - delete
-
DELETE request to protected resourceParameters
$uri
Resource URL$params
Hash of parametersReturn value
String - send_request
-
Send a signed OAuth request to a specific protected resourceParameters
$uri
Resource URI$method
Request method$params
API parametersReturn value
String, a response content - graphql_request
-
Send a signed GraphQL request to a specific OAuth2 protected resourceParameters
$params
API parametersReturn value
String, a response content - format_uri
-
Create a path to a specific resourceParameters
$uri
URI to the protected resource$epoint
Specific epointReturn value
String - version
-
Get version of native OAuth client
AUTHOR
Maksym Novozhylov <mnovozhilov@upwork.com>
COPYRIGHT
Copyright © Upwork Global Corp., 2018