rewardHealthCheckUsingGET
rewardHealthCheck
/health
Usage and SDK Samples
curl -X GET "http://localhost:8080/health"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.HealthControllerApi;
import java.io.File;
import java.util.*;
public class HealthControllerApiExample {
public static void main(String[] args) {
HealthControllerApi apiInstance = new HealthControllerApi();
try {
Object result = apiInstance.rewardHealthCheckUsingGET();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HealthControllerApi#rewardHealthCheckUsingGET");
e.printStackTrace();
}
}
}
import org.openapitools.client.api.HealthControllerApi;
public class HealthControllerApiExample {
public static void main(String[] args) {
HealthControllerApi apiInstance = new HealthControllerApi();
try {
Object result = apiInstance.rewardHealthCheckUsingGET();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HealthControllerApi#rewardHealthCheckUsingGET");
e.printStackTrace();
}
}
}
HealthControllerApi *apiInstance = [[HealthControllerApi alloc] init];
// rewardHealthCheck
[apiInstance rewardHealthCheckUsingGETWithCompletionHandler:
^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var RewardsFramework = require('rewards_framework');
var api = new RewardsFramework.HealthControllerApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.rewardHealthCheckUsingGET(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class rewardHealthCheckUsingGETExample
{
public void main()
{
var apiInstance = new HealthControllerApi();
try
{
// rewardHealthCheck
Object result = apiInstance.rewardHealthCheckUsingGET();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling HealthControllerApi.rewardHealthCheckUsingGET: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new OpenAPITools\Client\Api\HealthControllerApi();
try {
$result = $api_instance->rewardHealthCheckUsingGET();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling HealthControllerApi->rewardHealthCheckUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::HealthControllerApi;
my $api_instance = WWW::OPenAPIClient::HealthControllerApi->new();
eval {
my $result = $api_instance->rewardHealthCheckUsingGET();
print Dumper($result);
};
if ($@) {
warn "Exception when calling HealthControllerApi->rewardHealthCheckUsingGET: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = openapi_client.HealthControllerApi()
try:
# rewardHealthCheck
api_response = api_instance.reward_health_check_using_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling HealthControllerApi->rewardHealthCheckUsingGET: %s\n" % e)
extern crate HealthControllerApi;
pub fn main() {
let mut context = HealthControllerApi::Context::default();
let result = client.rewardHealthCheckUsingGET(&context).wait();
println!("{:?}", result);
}