RIAEvangelist / node-dominos-pizza-api

This is a node.js wrapper for the dominos pizza apis
MIT License
544 stars 129 forks source link

I think I found Brazil endpoints #136

Open jvrcruzGAMES opened 6 months ago

jvrcruzGAMES commented 6 months ago

Hey, I was investigating on the dominos.com.br and I found a interesting diference in the domains

Instead of order.dominos.com.br (used for promotion), They use order.golo01.dominos.com as root domain

Also, this seems to be consistent, I'm not able to check if parameters are different, but the endpoints seem to be the same (adding the golo01)

I'm not able to contribute with a pull request, but I'm here to help with any testing :)

image

jvrcruzGAMES commented 6 months ago

Oh, and here is the referer (It's different to, pretty sure) https://order.golo01.dominos.com/assets/build/xdomain/proxy.html

jvrcruzGAMES commented 6 months ago

Update: The international Store Locator doesn't work here, I'll try using the regional one

jvrcruzGAMES commented 6 months ago

Address system is different here in Brazil, I'll do a repository fork

davidsosa2022 commented 6 months ago

it seems peru uses the same endpoint...

jvrcruzGAMES commented 6 months ago

Then it must be a regional attribute on the http requests, I'm trying to discover it

jvrcruzGAMES commented 6 months ago

This is Saudi Arabia one: order.golo02.dominos.com It changes the number, probably relating to a regional cluster