Authorization: Bearer ********************{
"html": "<h1 style='color:red' >Hello, World!</h1><p>This is a PDF document generated from HTML.</p>"
}
curl --location --request PATCH 'http://localhost:3000/api/v1training-applications/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"html": "<h1 style='\''color:red'\'' >Hello, World!</h1><p>This is a PDF document generated from HTML.</p>"
}'{
"message": "Updated successfully",
"status": "Success",
"data": {
"id": 1,
"userId": 4,
"trainingId": 1,
"applicantId": 1,
"status": "approved",
"applicationStatus": "submitted",
"createdAt": "2024-10-07T20:57:02.455Z",
"updatedAt": "2024-10-07T21:55:46.914Z",
"deletedAt": null
}
}