fzaninotto / uptime

A remote monitoring application using Node.js, MongoDB, and Twitter Bootstrap.
http://fzaninotto.github.com/uptime/
MIT License
3.62k stars 706 forks source link

API Error 404 in Uptime 3.21 #315

Open petakcm8 opened 9 years ago

petakcm8 commented 9 years ago

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