App Proxy Question

Solved
Shopify Expert
4320 35 445

I know the pattern when I set up an App Proxy. For example, for my Shopify store https://jigglezoggle.myshopify.com I can have /apps/flooblefart as an endpoint, and Shopify will send my GET or POST to my App when I do an AJAX call to /app/flooblefart with (or without) data. I get back JSON or Liquid, my choice.

So let us say my DNS is mapping that *.myshopify.com name to https://www.excellentnews.com. If I make my JS calls to https://www.excellentnews.com/apps/flooblefart is that equivalent and acceptable practice?

I am seeing exactly that in a client shop, and it confuses me, and the FQDN is not something I ever considered using. Do most App Proxy calls use FQDN? If yes, why?

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes
Shopify Partner
863 75 185

For grins I just tried this now for a test. And I received a middleman error from Cloudflare. Assuming on Shopify's side, since my app proxy receiver doesn't utilize this service.

403 Forbidden

cloudflare
0 Likes
Shopify Partner
863 75 185

This is an accepted solution.

Actually, correction. I forgot to add my custom (real) domain name to the development store. Once I did that everything worked fine. The app proxy passed along things okay!

Shopify Expert
4320 35 445

So strange but I accept that there are now two ways to work it. Thanks for confirming that!

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes