I need to retrieve some json data from web service, specifically FCM, but I can't find how to do that with and authorization header.
I was trying to use the following code:
var request = (HttpWebRequest)WebRequest.Create(new Uri(url)); request.ContentType = "application/json"; request.Method = "GET";
but I can't put the necessary authorization header. I don't find nothing specific and clear of how to do this.