C
C
crdrads2019-03-03 19:51:00
Google
crdrads, 2019-03-03 19:51:00

Is it possible to make multiple requests within one authorization?

In the Google API, before the request, you need to do OAuth authorization.
And if, for example, I need to get the last unread email, then I need to first get a list of all emails, and then select the last one, and make a request to a specific email. Do I need to pass authorization before each request? What if I need to read the last 20 emails? Login 20 times?
I use Node

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2019-03-03
@Robur

Once you receive an OAuth token, it can be used many times until it expires or is otherwise invalidated

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question