It depends on what the server API is. Is there an auth endpoint that you need to login in to first? Sometimes you do an initial auth request and the server sends back a token that you would then add to all subsequent queries. Sometimes you have a pre-generated token that you add to the request headers.
↧