Getting nothing back on my Product API requests

Highlighted
Tourist
5 0 0

Whenever I make this request I get blanks back even though I know that product id exists.

 

  fetch(`https://lookbook-app-test-jonathan.myshopify.com/admin/api/2020-04/products/4516839915554.json`, {
    method: "GET",
  })
    .then(res => console.log(res))
}

I've tried different formats and different request types but nothing ever seems to work. Why can't I find a straightforward tutorial on how to make http requests in Shopify Apps? I've made requests to my own rails database and it works fine. Thanks for the help!

Screen Shot 2020-05-21 at 2.32.26 PM.png

 

0 Likes