I have a curl request that will use the Spotify API to request the specified track (2am - Foals) and return any information about that track (in a json format?). Where the Bearer token is my private auth key:
curl https://api.spotify.com/v1/tracks/1s6ux0lNiTziSrd7iUAADH --header "Authorization: Bearer []"
How can I rewrite this line into a method to be used in a Xamarin.forms app? I am aware of using HttpClient to do this but am unsure on the specifics/implementation and most importantly how to include the --header part in the request.