curl
Në shqip: curl
ShpjegimiSQ
curl dërgon kërkesa HTTP nga terminali: GET, POST me JSON, me header-a, me autentikim. Mjeti më i shpejtë për të testuar një API pa Postman. -i tregon header-at, -L ndjek ridrejtimet.
EnglishEN
curl sends HTTP requests from the terminal: GET, POST with JSON, with headers, with auth. The quickest way to test an API without Postman. -i shows headers, -L follows redirects.
Si ta mendosh
Si të telefonosh direkt një dyqan në vend që të shkosh vetë.
Lexoje në anglisht
Like phoning a shop directly instead of walking there.
Shembull kodibash
curl -i https://fjalori.dev
curl -X POST localhost:3000/api/users \
-H "Content-Type: application/json" \
-d '{"emri":"Arta"}'