fzaninotto/uptime

API Error 404 in Uptime 3.21

petakcm8 opened this issue · 0 comments

Hey guys,

Really appreciate it if someone could help me out with this

I have been using the API from the last version without any issues.

However, I downloaded version 3.21 with ICMP support and although there s the API folder there, it doesn t seem to do anything.

Every request is returning a 404 Error.

Doing the same Curl Request I do to the other server where I have latest version installed :

curl -vv -i -H "Accept: application/json" -X PUT -d "name=example" -d "url=icmp://xx.xx.xx.xx" -d "interval=1" http://xx.xx.xx.xx:8082/api/checks

Is there a different way to Curl the api for icmp or for this version of uptime ?

Thanks