0

I have an AWS server that I use to hit a public API, whose json responses I then parse in Python. Is it possible to find out what my http requests to the API look like? I can always check /etc/hosts and everything but I'd like to see if I can construct an actual http request. I've only got CLI access to the AWS box so something like Fiddler or WireShark wouldn't work.

Craig
  • 101
  • 2
  • 1
    it's not clear what you are doing - if you are using the API then surely you know what the http requests look like? – Sum1sAdmin Oct 14 '16 at 16:17
  • I just call a urllib2.urlopen on the url, for instance http://mobile-api.hopper.com/api/v1/cards/trips?origin=airport%2FJFK&destination=airport%2FBKK&departure=2016-12-23&return=2017-01-06 – Craig Oct 14 '16 at 17:58
  • Wireshark has a command line implementation, `tshark`. – Michael - sqlbot Oct 14 '16 at 19:30

0 Answers0