Hi!
I’m trying to use the webhook feature to send a message to an asp.net core webapi that I wrote.
I’m kinda guessing the media type of the http post the webhook is doing, and guessing app/json is the wrong one. As I’m getting response code 415 in server logs.
Anyone know what kind of mediatype the post is?
When I send the sample body from the webhook article, everything is working as it should be.
But that is without any additional headers. So I guess it could be missing something else too.
//B
EDIT:
If anyone else stumbles upon this:
This was how I handled the multipart form. (i ignore the second part, and only care about the first.)