3.6 KiB
3.6 KiB
Europharmacy\EuromedicaClient\WelcomeApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| apiWelcomeGet() | GET /api/Welcome | |
| apiWelcomeHead() | HEAD /api/Welcome | |
| apiWelcomeSecureGet() | GET /api/Welcome/Secure |
apiWelcomeGet()
apiWelcomeGet(): string
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Europharmacy\EuromedicaClient\Api\WelcomeApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->apiWelcomeGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WelcomeApi->apiWelcomeGet: ', $e->getMessage(), PHP_EOL;
}
Parameters
This endpoint does not need any parameter.
Return type
string
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiWelcomeHead()
apiWelcomeHead()
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Europharmacy\EuromedicaClient\Api\WelcomeApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->apiWelcomeHead();
} catch (Exception $e) {
echo 'Exception when calling WelcomeApi->apiWelcomeHead: ', $e->getMessage(), PHP_EOL;
}
Parameters
This endpoint does not need any parameter.
Return type
void (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiWelcomeSecureGet()
apiWelcomeSecureGet(): string
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basic
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Europharmacy\EuromedicaClient\Api\WelcomeApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->apiWelcomeSecureGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WelcomeApi->apiWelcomeSecureGet: ', $e->getMessage(), PHP_EOL;
}
Parameters
This endpoint does not need any parameter.
Return type
string
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]