make trailing slash optional for api calls #662
Merge pull request #663 from justindowning/trailing_slash_optional

make trailing slash optional for main api calls #662