apiChangePWPost
+ ++
/api/changePW
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Content-Type: */*"\
+"https://ipost.rocks//api/changePW"
+ import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.DefaultApi;
+
+import java.io.File;
+import java.util.*;
+
+public class DefaultApiExample {
+
+ public static void main(String[] args) {
+
+ DefaultApi apiInstance = new DefaultApi();
+ Api_changePW_body body = ; // Api_changePW_body |
+ try {
+ apiInstance.apiChangePWPost(body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#apiChangePWPost");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.DefaultApi;
+
+public class DefaultApiExample {
+
+ public static void main(String[] args) {
+ DefaultApi apiInstance = new DefaultApi();
+ Api_changePW_body body = ; // Api_changePW_body |
+ try {
+ apiInstance.apiChangePWPost(body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#apiChangePWPost");
+ e.printStackTrace();
+ }
+ }
+}
+ Api_changePW_body *body = ; // (optional)
+
+DefaultApi *apiInstance = [[DefaultApi alloc] init];
+
+[apiInstance apiChangePWPostWith:body
+ completionHandler: ^(NSError* error) {
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var IPostApi = require('i_post_api');
+
+var api = new IPostApi.DefaultApi()
+var opts = {
+ 'body': // {{Api_changePW_body}}
+};
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.apiChangePWPost(opts, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class apiChangePWPostExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new DefaultApi();
+ var body = new Api_changePW_body(); // Api_changePW_body | (optional)
+
+ try
+ {
+ apiInstance.apiChangePWPost(body);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DefaultApi.apiChangePWPost: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiDefaultApi();
+$body = ; // Api_changePW_body |
+
+try {
+ $api_instance->apiChangePWPost($body);
+} catch (Exception $e) {
+ echo 'Exception when calling DefaultApi->apiChangePWPost: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::DefaultApi;
+
+my $api_instance = WWW::SwaggerClient::DefaultApi->new();
+my $body = WWW::SwaggerClient::Object::Api_changePW_body->new(); # Api_changePW_body |
+
+eval {
+ $api_instance->apiChangePWPost(body => $body);
+};
+if ($@) {
+ warn "Exception when calling DefaultApi->apiChangePWPost: $@\n";
+}
+ from __future__ import print_statement
+import time
+import swagger_client
+from swagger_client.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_client.DefaultApi()
+body = # Api_changePW_body | (optional)
+
+try:
+ api_instance.api_change_pw_post(body=body)
+except ApiException as e:
+ print("Exception when calling DefaultApi->apiChangePWPost: %s\n" % e)
+ Parameters
+ + + +Name | +Description | +
---|---|
body | ++ + + + + | +