Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
uafzal
Level 1

Likes

0 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
uafzal
Level 1

Likes

0 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
uafzal
Level 1

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)