$configuration
$configuration : \Iqrf\Repository\Configuration
HTTP(S) client for API
sendApiRequest(string $path, array|null $query = null, bool $useCredentials = false) : array
Sends JSON API request
string | $path | API path |
array|null | $query | Optional API query |
bool | $useCredentials |
Corrupted data in the API response
Requested data not found
IQRF Repository API is unavailable
JSON API response
sendRequest(string $url, array|null $query = null, bool $useCredentials = false) : string
Sends HTTP request
string | $url | URL |
array|null | $query | Optional query parameters |
bool | $useCredentials |
Requested data not found
IQRF Repository API is unavailable
HTTP response