You can use the TclHttp component for sending the PUT request as follows:
clHttp1.Authorization := clOAuth.GetAuthorization();
requestStrings.Text := '{"name": "{{value}}"}';
clHttp1.Put('{{url}}', 'application/json', requestStrings);
If you want to get the server response, please use the other overloaded version of the Put method:
clHttp1.Put('{{url}}', 'application/json', requestStrings, responseStrings);
Article ID: 110, Created: October 30, 2018 at 12:46 PM, Modified: March 3, 2020 at 5:46 PM