We are working in Cloud with an API that will happily accept general GET and POST of text-based JSON content. But we're having significant issues trying to get a file uploaded to the API using Content Type of multipart/form-data.
Here's the config of the Web Request:
And here's the Test Web Request screen when we select a document from the local device's drive:
So far, so good... it all looks ok.
But after running the test - we get the following:
Despite saying it was run successfully; the server response is a 500. Which is a generic 'Internal Server Error'.
If we do the exact same thing in the target system's Swagger, with the exact same file, and exact same API Key - we can post to the exact same API Endpoint successfully.
Working with the developers for the other system, they are unable to see any log or provide any response content. If we run this using a workflow, we just get a 'false' success status for thye call, and no content - so we can't even see what might be the issue. It's as though LF CLoud is not even making the call.
If anyone can see anything wrong with the config above - or anything I might be missing; please let me know - that would be great - thanks!