79231206

Date: 2024-11-27 17:01:08
Score: 0.5
Natty:
Report link

Nico mentioned this in the comment but let me add. Your curl command does not have the additional header X-Requested-With which is set to XMLHttpRequest.

curl --header "x-requested-with: XMLHttpRequest" "https://www.starbucks.com/bff/locations?lat=46.6540153&lng=-120.5300666&place=Selah%2C%20WA%2C%20USA"

This article elborates why this is required, but here is a nutshell. The X-Requested-With header is a custom HTTP header used to indicate that the request was made via JavaScript, typically through an AJAX call rather than a traditional browser request and its value is usually set to XMLHttpRequest. This is done for a multitude of reasons for ex., to detect legitimate AJAX calls and/or add an extra layer of security against certain types of attacks etc.

Reasons:
  • Blacklisted phrase (1): This article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Monkey D Luffy