Can you send request data to Assets HTTP API through the payload/body? | Community
Skip to main content
Level 2
March 22, 2021
Question

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

  • March 22, 2021
  • 0 replies
  • 574 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.