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:
it solved problem @ least :).
Comments
Post a Comment