How does REST API differs with SOAP API

How does REST API differs with SOAP API, can anyone illustrate with a small example on SOAP API vs REST API

Please refer the below link for better understanding of REST and SOAP
Difference between REST API and SOAP API - GeeksforGeeks

UiPath SOAP Request Activity:
Activities - SOAP Request (uipath.com)

UiPath REST Request Activity:
Activities - HTTP Request (uipath.com)

2 Likes