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="" />
code VS Codeで開発作業をもっとスマートに

スクリプト開発の効率を高めたい方に、Code Assistをご用意しています。

Code Assistの詳細はこちら →
account_tree 複雑な構成も、すっきり視覚化

サイト構成やデータのつながりを可視化し、把握しやすくします。

Site Visualizerの詳細はこちら →
TOP