5330 shaares
5 private links
5 private links
2 results
tagged
curl
We can use curl instead of postman too :
curl -i -X POST -H 'Content-Type: application/json' -d '{"day": 3, "month": 7, "year": 2024}' http://127.0.0.1:8000/date/date-plus-month
Merci ;)
pour avoir la météo
curl -s -S 'http://ws.meteofrance.com/ws/getLieux/rennes.json' | jq -rc '.result.france[]|[.indicatif, .nom]|@csv'
curl -s -S 'http://ws.meteofrance.com/ws/getDetail/france/352380.json' | jq -rc '.result.previsions48h|.[]|[.moment, .description]|@csv'
Sinon il y a ça :
curl -4 http://wttr.in/Rennes