swift2 - Access denied - Search API from AngelList -


when i'm calling "search api" angellist (https://angel.co/api/spec/search) following url:

https://api.angel.co/1/search?query=barack&type=locations&callback=?access_token=707cfhgbdae43060876388ac584bf4cf4fdb

the result gives me error: {"error":"access_denied","error_description":"you must pass in access token when making request."}

i'm not sure why happening because when i'm calling other apis same access_token, these run successfully.

how can solve situation?

i think have typo in url. need & character access_token parameter. , can remove callback parameter @ point can retrieve data response message.

your url should this:

https://api.angel.co/1/search?query=barack&type=locationtag&access_token=707cfhgbdae43060876388ac584bf4cf4fdb.

it solved problem @ least :).


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -