An open API service indexing awesome lists of open source software.

https://github.com/fflch/alertas


https://github.com/fflch/alertas

hacktoberfest

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

### Sistema de Alertas

Exemplo de request para mudar status do ping:

curl --include --header "Authorization: 123" \
-X POST -H "Content-Type: application/json" --data \
'{"ping_status": "Up","ip": "8.8.1.1","ping_date": "2021-06-20"}' \
http://127.0.0.1:8000/api/ping/

curl --include --header "Authorization: 123" \
-s -d "ping_status=Up&ip=8.8.1.1&ping_date=2021-06-20" \
-X POST http://127.0.0.1:8000/api/ping/