Expand my Community achievements bar.

Can you send request data to Assets HTTP API through the payload/body?

Avatar

Level 2

I am using Assets HTTP API - I am trying to find a way to send data in body or payload. I know some of the endpoints accept data in the request body.

 

For example, when creating a folder, we use the following: (See how the folder name is sent as form-data and not in the URL)

  • POST /api/assets/* -F"name=myfolder" -F"title=My Folder"

 

When deleting a folder, we use the following: (See how the folder name, myFolder, is sent in the URL)

  • DELETE /api/assets/myFolder

Is it possible to send folder name in body/payload? Is it supported?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies