프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$curl |
메소드 | 설명 | |
---|---|---|
send ( |
Use the send method to call every endpoint except for oauth/tokens |
public static send ( |
||
$client | ||
$endPoint | string | E.g. "/tickets.json" |
$options | array | Available options are listed below: array $queryParams Array of unencoded key-value pairs, e.g. ["ids" => "1,2,3,4"] array $postFields Array of unencoded key-value pairs, e.g. ["filename" => "blah.png"] string $method "GET", "POST", etc. Default is GET. string $contentType Default is "application/json" |
리턴 | stdClass | | null The response body, parsed from JSON into an object. Also returns null if something went wrong |