only send data if post request, move token into query param for all requests
fix tests for token in query params
Merge pull request #4 from hoist/fix/get_request_data

Fix/get request data