Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch 함수로 빼내는법 #15

Open
daehwan2 opened this issue Nov 17, 2022 · 0 comments
Open

fetch 함수로 빼내는법 #15

daehwan2 opened this issue Nov 17, 2022 · 0 comments

Comments

@daehwan2
Copy link
Owner

async function getAiReview(productId) {
  const response = await fetch(
    `${HOST}http://54.180.147.255:25605/srch/sentimentAnalysis?query=${productId}`,
  );
  const data = await response.json();
  return data;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant