# SwaggerDemoApiDoc.UserControllerApi

All URIs are relative to *https://localhost:8001*

Method | HTTP request | Description
------------- | ------------- | -------------
[**deleteUsingDELETE**](UserControllerApi.md#deleteUsingDELETE) | **DELETE** /user/delete/{id} | delete of method
[**findUsingGET**](UserControllerApi.md#findUsingGET) | **GET** /user/find/{id} | find of method
[**saveUsingPOST**](UserControllerApi.md#saveUsingPOST) | **POST** /user/save | save of method


<a name="deleteUsingDELETE"></a>
# **deleteUsingDELETE**
> deleteUsingDELETE(id)

delete of method

删除方法

### Example
```javascript
var SwaggerDemoApiDoc = require('swagger_demo_api_doc');

var apiInstance = new SwaggerDemoApiDoc.UserControllerApi();

var id = 789; // Number | id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deleteUsingDELETE(id, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **id** | **Number**| id | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: */*

<a name="findUsingGET"></a>
# **findUsingGET**
> User findUsingGET(id)

find of method

查找方法

### Example
```javascript
var SwaggerDemoApiDoc = require('swagger_demo_api_doc');

var apiInstance = new SwaggerDemoApiDoc.UserControllerApi();

var id = "id_example"; // String | id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.findUsingGET(id, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **id** | **String**| id | 

### Return type

[**User**](User.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: */*

<a name="saveUsingPOST"></a>
# **saveUsingPOST**
> saveUsingPOST(opts)

save of method

保存方法

### Example
```javascript
var SwaggerDemoApiDoc = require('swagger_demo_api_doc');

var apiInstance = new SwaggerDemoApiDoc.UserControllerApi();

var opts = { 
  'age': 56, // Number | 
  'name': "name_example", // String | 
  'sex': "sex_example" // String | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.saveUsingPOST(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **age** | **Number**|  | [optional] 
 **name** | **String**|  | [optional] 
 **sex** | **String**|  | [optional] 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: */*

