braindamageinc/SublimeHttpRequester — pull request #13 by roshow (2013-03-19 02:51:36+00:00)
Title: Include query parameters in dictionary notation

I made an update to http_requester.py so you can put in the parameters for a request on a separate line from the url. So, for example, instead of:

GET http://www.youtube.com/results?search_query=batman&filters=hd

You can write it like this:

GET http://www.youtube.com/results
{ 'search_query': 'batman', 'filters': 'hd' }

Note that for this to work, you have to write the dictionary in one line without breaks. The dictionary can be written in any line following the url -- I have the script looking for anything that begins with curly brackets.

You can find my comments in the code by searching for "#roshow"

Thanks for this plugin! It's a big help.