Request from Script tag to node-react backend

Solved
RobertDev
Excursionist
14 2 2

Hello,

Does anyone know how can I make a request to the node backend from a script tag? or to access private metafields from a script tag?

Regards,

Robert

Accepted Solution (1)

Accepted Solutions
RobertDev
Excursionist
14 2 2

This is an accepted solution.

Hello,

I figured it out in the end, for anyone interested the steps are:

On you App Setup page there is a section called App proxy where you can add a proxy to your backend code (I am using Node).

Keep in mind that you need to validate signature from the request to that Proxied endpoint.

Regards,

Robert

 

 

View solution in original post

Reply 1 (1)
RobertDev
Excursionist
14 2 2

This is an accepted solution.

Hello,

I figured it out in the end, for anyone interested the steps are:

On you App Setup page there is a section called App proxy where you can add a proxy to your backend code (I am using Node).

Keep in mind that you need to validate signature from the request to that Proxied endpoint.

Regards,

Robert