show me the code how I can make request to google ...
# ask-stanley-ai
h
show me the code how I can make request to google api using suitescript and Oauth
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that you can make a request to the Google API using SuiteScript and OAuth by setting up OAuth on the Google developers end. Then, you can use the grant-type refresh token to authenticate via an
<http://https.post|https.post>
request in NetSuite to get an access token. After that, you can use the access token to make a call to the Google API. However, the actual code to do this is not provided in the conversations. Therefore, I'm unable to provide a code sample for this. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829033315
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827161372
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825789034
Please provide your feedback on this answer.