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
Running into a error response which i can not explain.
I'm using the curl library to send a POST towards an API.
It works on my ubuntu server with the command
schannel: InitializeSecurityContext failed: SEC_E_QOP_NOT_SUPPORTED (0x8009030A) - De kwaliteit van bescherming per bericht wordt niet ondersteund door het beveiligingspakket
Hi guys,
Running into a error response which i can not explain.
I'm using the curl library to send a POST towards an API.
It works on my ubuntu server with the command
curl http://84.246.19.6:12088/api/v1/app/control/sensors/network_alarm -v --anyauth -u xxxx:xxxx -X POST -H "Content-Type: application/json" -d @/home/admin01/tmp_file.json > /home/admin01/output.txt
which pretty much just send
{ "network_alarm": { "version": "1.0", "state": "off", "channel": 0, "data": "whatever" } }
which results in curl verbose output
Works like a charm.
Now im trying the same in the Rust-curl library
I'm getting this in return
It seems to go correctly the first request, but second issued request it doesnt seem to understand it should use Digest Auth.
The problem is the API does not support direct digest authentication, it only works if i use the --anyauth in the curl command.
Any suggestions?
The text was updated successfully, but these errors were encountered: