RESTEZ.

Ein erholsamer HTTP-Befehlszeilen-Client und -Bibliothek.
Jetzt downloaden

RESTEZ. Ranking & Zusammenfassung

Anzeige

  • Rating:
  • Lizenz:
  • Perl Artistic License
  • Preis:
  • FREE
  • Name des Herausgebers:
  • Chris Miles
  • Website des Verlags:
  • http://www.psychofx.com/radical/

RESTEZ. Stichworte


RESTEZ. Beschreibung

Ein erholsamer HTTP-Befehlszeilen-Client und -Bibliothek. RESTEZ ist ein erholsamer HTTP-Befehlszeilen-Client und -bibliothek.Examples: Abrufen einer JSON-Darstellung einer Ressource: $ ruhez -v Holen Sie sich http: // localhost / app / ressource / 3 --Accept-Anwendung / JSON-- Antwort-Header - Status: 200Content-Länge: 61Content-Location: http: // localhost / App / Ressourcen / 3server: Apache / 2.0.63 (UNIX) DAV / 2 mod_wsgi / 2.3 Python / 2.5.2Pragma: No-Cachecache-Control: No- Cachedate: Do, 08. Jan 200912:14:55 GMTContent-Typ: Application / JSON; charset = utf-8-- Antwortkörper - {"Timestamp": null, "produkt": "0", "user": "3": "3", "Ergebnis": 0} Eine JSON-Anfrage an eine Web-App anfordern: $ restez -v post http: // localhost / api / index data.json - Antwortzeit-Header --Status: 200content-Länge: 59server: cherrypy / 2.3.0date: thu, 08. Jan 200911:56:28 GMTcontent-Typ: Anwendungs- / JSON-- - Antwortkörper - {"Status": "Erfolg", "Version": "1.2.2"} Anforderungen: · Python


RESTEZ. Zugehörige Software