While I opened the following Foursqaure API request in the browser,
I got a venue with checkinsCount = 26788. But when I send a GET request for the same URL through axios like how I have done in the following codesandbox, I get a different response and the venue's checkinsCount = 0.
https://codesandbox.io/s/stoic-morning-8x2xs?file=/src/App.js
Could anyone tell me an explanation why there is a response difference?
from The difference of the responses between axios and browser in Foursquare Places API for Venue Search
No comments:
Post a Comment