Created
May 3, 2017 21:04
-
-
Save Longlius/0af22955e0eb11f0eaa5089719141d09 to your computer and use it in GitHub Desktop.
Curl request for getting Kroger locations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XPOST -H "Content-Type:application/json" -d '{"query":"query storeSearch($searchText: String!, $filters: [String]!) {\n storeSearch(searchText: $searchText, filters: $filters) {\n stores {\n ...storeSearchResult\n }\n fuel {\n ...storeSearchResult\n }\n shouldShowFuelMessage\n }\n}\n\nfragment storeSearchResult on Store {\n banner\n vanityName\n divisionNumber\n storeNumber\n phoneNumber\n showWeeklyAd\n showShopThisStoreAndPreferredStoreButtons\n distance\n latitude\n longitude\n address {\n addressLine1\n addressLine2\n city\n countryCode\n stateCode\n zip\n }\n pharmacy {\n phoneNumber\n }\n}\n","variables":{"searchText":"38053","filters":[]},"operationName":"storeSearch"}' https://www.kroger.com/stores/api/graphql | jshon | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment