I am trying to do a post method for REST API, but it throws error as "Request failed with status code 405: Not Allowed"
Note: Get method works though for the same REST API
Can someone help. Thanks
I am trying to do a post method for REST API, but it throws error as "Request failed with status code 405: Not Allowed"
Note: Get method works though for the same REST API
Can someone help. Thanks
It's not possible for us to troubleshoot somebody else's API based on just the error message. Have you tried asking the people who wrote the API? Have you tried taking a Wireshark or Fiddler trace of the working and not working cases and comparing them to see what you're not setting correctly in the Workflow activity?
Here is the solution for this
For REST API to work, we are supposed to add request headers , so in the workflow page click 'View general properties' icon and add credentials to the header.
Also important Note: The URI in the server configuration should be truncated to just the server and in the URI for webrequest you must give the remaining path