HttpShell

Software screenshot:
HttpShell
Dettagli del software:
Versione: 0.8.0
Data di caricamento: 14 Apr 15
Sviluppatore: Chris Longo
Licenza: Libero
Popolarità: 3

Rating: nan/5 (Total Votes: 0)

HttpShell è una shell interattiva per inviare comandi HTTP a un server web o di API REST.
Comandi HTTP Issue (HEAD, GET, POST, PUT, DELETE) per un server con feedback visivo. Rende il debug servizi REST molto più interattiva di cURL.
Utilizzo
Tratta il server come un filesystem:
$ Httpsh http://api.twitter.com/a/statuses
api.twitter.com:/1/statuses> get public_timeline.json
HTTP / 1.1 200 OK
> Content-Length: 40945
> Variare: Accept-Encoding
> X-transazione-mask: a6183ffa5f8ca943ff1b53b5644ef1140f40ebd7
...
Utilizzare i comandi noti shell:
api.twitter.com:/1/statuses> cd ..
api.twitter.com:/1/> cd /
api.twitter.com:/>
Uscita tubo di comandi esterni per la formattazione, etc:
api.twitter.com:/1/statuses> get public_timeline.xml | xmllint -format -
...


& Nbsp;
& Nbsp; Wed 14 dicembre 00:57:12 +0000 2011
...
Invia dati al server:
$ Httpsh http: // localhost: 28017
localhost: 28017: /> posta / foo / bar
... {"A": 123456}
...
HTTP / 1.0 201
> Content-Type: text / plain; charset = utf-8
> Connessione: close
> X-ns: foo._defaultCollection
> Content-Length: 15
> X-action: bar
{"Ok": true}
Utilizzare JSON di inviare messaggi in moduli web utilizzando speciale "@ {}" notazione!
somewebsite: /> posta / some / form / handler
... @ {
... "Name": "Chris",
... "Occupazione": "Developer"
...}
Converte la definizione JSON sopra a: name = Chris & occupazione = Developer per modulo di invio.
Set intestazioni:
localhost: 28017: /> .headers Cookie: session = 5cb9586618eea2374377bb1584f7de74
localhost: 28017: /> .headers User-Agent: AppleWebKit / 535,13
localhost: 28017: /> .headers
Aiuto
Verbi
& Nbsp; head [] [| ]
& Nbsp; ottenere []
& Nbsp; postale [] [data]
& Nbsp; mettere [] [data]
& Nbsp; delete
Navigazione
& Nbsp; cd o ..
Metacommands
& Nbsp; .headers []: []
& Nbsp; .Quit
Installazione
& Nbsp; python setup.py install
O se pip è installato:
& Nbsp; pip installare httpshell
Può richiedere sudo per installare

Requisiti :

  • Python

Programmi simili

couleur
couleur

15 Apr 15

ProFTPD
ProFTPD

22 Jun 18

Commenti a HttpShell

I commenti non trovato
Aggiungi commento
Accendere le immagini!