Fix fetch api with token
Merge pull request #2 from srenault/master

Fix fetch api with token