Hello everyone, I'm trying to use the rest-client on the Shopify API but I'm having a problem trying to set the query parameter to the src with the error below: const resul...
I create an endpoint on my app server to create a new script tag with Shopify, for that I need the shopOrigin and token (what before was available on the session), I try this changes on the frontend ...
No content to show
User Activity
03-13-2021
Thank you StefanoDiLegami,I had tried the object and the string as the code expects a string parameter, I think I really mess up on the name of the body, that was supposed to be data.That fixed it now I really appreciate your help
03-12-2021
Hi, StefanoDiLegamiThank you for your help, the front end code is just as the one on your link, I can see it has the bearer token and I can get the accessToken and Client, I think the body must be wrong that is why the bad request, I'm passing a JSON...
03-12-2021
Does anyone know how to use the rest-client from Shopify? From what I look on the code should be this router.post("/script_tag", async (ctx) => { console.log("script_tag"); // Load the current session to get the `accessToken`. const sessio...
03-11-2021
@HunkyBill I still have an simular problemI have this code for axios:const instance = Axios.create(); instance.interceptors.request.use(function (config) { return getSessionToken(window.app).then((token) => { config.headers["Authorization"] = ...