Rest request/response now working.
Merge pull request #7 from josephdes/patch-2

Rest request/response now working.