Examples of GET/DELETE/PATCH applications in REST
Posted: Mon Jun 03, 2019 5:47 am
Hi, all
Not sure if anyone is interested in examples of GET/DELETE/PATCH applications in REST, but I would like to share
test.xlsx is an application under Tests folder,
To GET an application (just dump the binary file and rename it as xlsx, you can open it in Excel)
Same request to PATCH, but select a binary body (an updated file, say test1.xlsx) in the Postman and send
To Delete an application,
If anyone knows how to POST, please share it as well here.
Not sure if anyone is interested in examples of GET/DELETE/PATCH applications in REST, but I would like to share
test.xlsx is an application under Tests folder,
To GET an application (just dump the binary file and rename it as xlsx, you can open it in Excel)
Code: Select all
https://URL/api/v1/Contents('Applications')/Contents('Tests')/Contents('test.xlsx.blob')/Document/Content
To Delete an application,
Code: Select all
https://URL/api/v1/Contents('Applications')/Contents('Tests')/Contents('test.xlsx.blob')