I am trying to upload file using postman . But it is giving me 500(Internal server error) whereas on actual UI it is working.
Can someone please guide me if there is any special parameter or header or type that needs to be added for the same?
My request body : ------WebKitFormBoundarylH8FJwGyEeVTCjmA Content-Disposition: form-data; name="id"
b7d86736-a9c3-4e07-9895-4e5b0b53972b ------WebKitFormBoundarylH8FJwGyEeVTCjmA Content-Disposition: form-data; name="entity"
Action ------WebKitFormBoundarylH8FJwGyEeVTCjmA Content-Disposition: form-data; name="siteId"
2fe552b7-53b1-4e4a-afff-3aef8fe9d05b ------WebKitFormBoundarylH8FJwGyEeVTCjmA Content-Disposition: form-data; name="Sample test file.pdf"; filename="Sample test file.pdf" Content-Type: application/pdf