You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🪲 Describe the bug
Calling API with JSON does not work at all.
According to examples it should work:
POST https://apprise.example.com/notify/key
Content-Type: application/json
{
"body": "test",
"tag":"some tag"
}
This is really strange because much more complex Content-Type application/x-www-form-urlencoded works from curl, Python but does not work from .NET.
The same is for multipart/form-data; works from curl but does not from .NET.
Json content type does not work at all. And this is why I am creating this bug since I am bashing my head with this for whole day.
💡 Screenshots and Logs
Returns: Response code: 424 (Failed Dependency); Time: 16ms (16 ms); Content length: 56 bytes (56 B)
running Apprise from docker image caronc/apprise:latest at the time of writing this [v0.9.3]
🔮 Additional context
In an essence I want to connect shinobi motion detection notification to my matrix server via Apprise, but since Apprise does not allow webhooks - and Shinoby allows only those - I need to make a proxy. Thought about dotnet since I have it already set up, but no matter how I create a request it fails.
There is not much in logs why this is happening - the only other way beside creating a bug here would be to debug apprise to find out what is happening.
The text was updated successfully, but these errors were encountered:
Ok I did found the problem. I forgot to hit save on config page and tag I was using did not exists. So typical case of PEBKAC. Still I would expect API to throw 400 or 404 Tag do not exists. Instead of 424 that is defined for WebDav specifically I believe.
🪲 Describe the bug
Calling API with JSON does not work at all.
According to examples it should work:
This is really strange because much more complex Content-Type
application/x-www-form-urlencoded
works from curl, Python but does not work from .NET.The same is for
multipart/form-data;
works from curl but does not from .NET.Json content type does not work at all. And this is why I am creating this bug since I am bashing my head with this for whole day.
💡 Screenshots and Logs
Returns:
Response code: 424 (Failed Dependency); Time: 16ms (16 ms); Content length: 56 bytes (56 B)
Logs:
💻 Your System Details:
caronc/apprise:latest
at the time of writing this [v0.9.3]🔮 Additional context
In an essence I want to connect shinobi motion detection notification to my matrix server via Apprise, but since Apprise does not allow webhooks - and Shinoby allows only those - I need to make a proxy. Thought about dotnet since I have it already set up, but no matter how I create a request it fails.
There is not much in logs why this is happening - the only other way beside creating a bug here would be to debug apprise to find out what is happening.
The text was updated successfully, but these errors were encountered: