REST API -Upload a request item file
Summary:
REST API- Script for upload item file to a request does not seem to be working using powershell.
Content (please ensure you mask any confidential information):
I have been trying to use REST API to upload attachtment to an EDM request and it always fails somtimes with 404 error or 400 error. When I use POSTMAN then same command works.
/epm/rest/v1/requests/{requestId}/attachments/importFile
Has anyone successfully uploaded attactments to a request using powershell?
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Below is the example they give using CURL: