Pass API response from one api to another


We are using self-authentication method to call APIs. Our login APIs sends the token on the login page.


This API returns the auth token and the id of the school along with other parameters.

  1. How do we send this auth token as a header in other APIs?
  2. How do we use the response parameters in the login API in other APIs on the next pages?

Please advise.