Learn how to use the PATCH method in the new UiPath HTTP Request activity to update selected fields in an API request. In this tutorial, we use HTTPBin to demonstrate partial updates by sending one field and then multiple fields using JSON.
API Endpoint:
https://httpbin.org/patch
Method: PATCH
Request Body Type: Text
Content-Type: application/json
JSON Example 1 – Update City:
"{
""city"": ""Bengaluru""
}"
JSON Example 2 – Update Name and Course:
"{
""name"": ""Priya Kumari Sharma"",
""course"": ""Data Science""
}"
Copy the endpoint and JSON expressions to practise the examples in UiPath Studio.
Note: HTTPBin is a testing service. It echoes the submitted data but does not actually update or store student records.
Subscribe to Automate with Rakesh for more practical UiPath tutorials!
#UiPath #APIAutomation #automatewithrakesh
Comments