User Manual

08.14.2024

MANUAL

Developer Function: Server Script: httpClient.Get

## Overview Used when issuing a GET method using ["httpClient"](server-script-http-client) in "「Server Script」". ## Syntax ``` httpClient.Get(); ``` ## Parameters There are no parameters. ## Return Value String-type return value ## Usage Example The following example issues a GET method to an external API server and outputs the result to the log. ##### JavaScript ``` httpClient.RequestUri = 'https://servername/api/.....'; let response = httpClient.Get(); 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.