opsgenie / opsgenie-lamp

OpsGenie Lamp with Go SDK
Apache License 2.0
34 stars 18 forks source link

attachFile does not work due to content type #54

Open nathanieltruitt opened 1 year ago

nathanieltruitt commented 1 year ago

I tested using the attachFile command and receive an error: Status code: 413, Message: Current request is not a multipart request.

I am primarily a JavaScript and .NET programmer but I have done a little bit of Go so I looked and I think this is an issue where the correct Content type is not being set in the code. But I only looked briefly so I could very well be wrong. Let me know if this works for other people.