Hello again, Barry!
Thank you so much for patience explaining this again. It’s working perfect!
I have 2 more dumb question though.
-
Will I always use my own
client-idin my requests? I mean, if I want to someone else make these requests, do they need to authenticate themselves? -
to use the
pagination cursori just need to send it inside header as a value for keyafter? like:
pagination: { cursor: "eyJiIjpudWxsLCJhIjp7IkN1cnNvciI6ImV5SjBjQ0k2SW5WelpYSTZORGd5TkRZeU5ERTVPbVp2Ykd4dmQzTWlMQ0owY3lJNkluVnpaWEk2TlRVM01qY3dORE1pTENKcGNDSTZJblZ6WlhJNk5UVTNNamN3TkRNNlptOXNiRzkzWldSZllua2lMQ0pwY3lJNklqRTJNRGt3T1RJd09EUTFNelE1TWpZNE5UTWlmUT09In19"}
const { data } = await axios.get(url, {
headers: {
Authorization: `Bearer ${token}`,
'Client-ID': clientId,
'after': <cursor_value>
}
})
Thanks again!