User Manual

10.04.2024

MANUAL

Developer Function: Server Script: httpClient.Put

## Overview Used when issuing a PUT method using ["httpClient"](server-script-http-client-put) in "「Server Script」". ## Syntax ``` httpClient.Put(); ``` ## Parameters There are no parameters. ## Return Value String-type return value ## Usage Example The following example issues a PUT method to an external API server and logs the results. ##### JavaScript ``` let data = { data1: 'abc', data2: '123' } httpClient.RequestUri = 'https://servername/api/.....'; httpClient.Content = JSON.stringify(data); let response = httpClient.Put(); if(httpClient.IsSuccess) { context.Log('Success: ' + response); }else{ context.Log('Error: (' + httpClient.StatusCode + ')' + response); } ``` ## Related Information <div id="ManualList"> <article class="s-blog_list_unit"><h2> <h2>The specified information was not found.</h2> <p><a href="/ja/manual">Return to top</a></p> </article> </div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.