48 lines
830 B
Markdown
Raw Normal View History

2021-01-08 23:35:08 +08:00
# SwaggerJsClient.GreetApi
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**ping**](GreetApi.md#ping) | **GET** /user/ping |
<a name="ping"></a>
# **ping**
> Object ping()
### Example
```javascript
var SwaggerJsClient = require('swagger-js-client');
var apiInstance = new SwaggerJsClient.GreetApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.ping(callback);
```
### Parameters
This endpoint does not need any parameter.
### Return type
**Object**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json