Error in post communication using wininet

I’m trying to send a post communication using wininet from an external application to bubble.
Requests are received using the workflow api.
When I send the request I get the following message.

{“statusCode”:405,“body”:{“status”:“ERROR”,“message”:“Wrong method. Should be a POST. Method may change when attempting to use http. Please ensure URL starts with https:/ / instead.”}}

Do you know the reason?


Well that is quite a nice looking and understandable error message, thats probably a good place to start. I don’t want to state the obvious here, but you didn’t mention anything about having checked the things that the errror code is saying.

Is Wininet using a POST method instead of a GET method?
Are you using https:// in your API call?