User Manual

10.11.2024

MANUAL

Developer Features: Server Script: httpClient.Patch

## Overview Used when issuing a PATCH method using "[httpClient](/ja/manual/server-script-http-client)" in "[Server Script](/en/manual/table-management-server-script)". ## Syntax ``` httpClient.Patch(); ``` ## Parameters No parameters ## Return Value Return value of string type ## Usage Example The following example issues a PATCH method to an external API server and outputs the results to the log. ##### JavaScript ``` let data = { data1: 'abc', data2: '123' } httpClient.RequestUri = 'https://servername/api/.....'; httpClient.Content = JSON.stringify(data); let response = httpClient.Patch(); if (httpClient.IsSuccess) { context.Log('Success: ' + response); } else { context.Log('Error: (' + httpClient.StatusCode + ')' + response); } ``` ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/server-script-http-client">Developer Function: Server Script: httpClient</a><span>10.04.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.