commercetools / sunrise-spa

SUNRISE shop template as a single-page application
https://sunrise-spa.now.sh
Apache License 2.0
51 stars 77 forks source link

How to call the external api #301

Closed satyam21041997 closed 1 year ago

satyam21041997 commented 1 year ago

Hi, I have to call the Get method API from Sunrise Application and have to use the response data into the application. I am successfully able to fetch the data from Postman. What will be the way to call the API from Sunrise Application?

harm-meijer commented 1 year ago

@satyam21041997 Assuming you followed the start guide, when you want to connect to your own commercetools project you have to set up the environment and the correct currency, countries and languages