Rest request/response now working.
Merge pull request #6 from josephdes/patch-1

Rest request/response now working.