I’m using a service with REST API, which provides me an authentication token as the response for the sign in POST request.
Now for authentication on every request i need to send that token with the request.
How to use this token with every request i send to server ???
I’m not totally sure what you need from your question, but here is a guess.
And to do this for every other one, do a
if (i % 2 == 0)or something to that effect.