Why POST? Because we are dealing with form data, sometimes it just doesnt accept PUT or PATCH (tribute to Lưu Đức Tài)
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params multipart/form-data
Request Code Samples
curl --location --request POST 'https://api.hustmusik.live/v1/song/3e9d9f8e-2240-48ec-917a-59052380ea7a' \
--form 'genre=""' \
--form 'thumbnailurl=""' \
--form 'duration=""' \
--form 'releasedate=""' \
--form 'file=@"C:\\Users\\ADMIN\\Downloads\\Musik Streamin\\songs\\Taylor Swift - THE TORTURED POETS DEPARTMENT (Deluxe) (2024) Mp3 320kbps [PMEDIA] ⭐️\\Cover.jpg"' \
--form 'title=""'
Responses
application/json Modified at 2024-11-08 12:29:36