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

Avatar

Avatar

uafzal

Avatar

uafzal

uafzal

21-03-2021

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?

AEM Assets HTTP API

Accepted Solutions (0)

Answers (0)