sanloro Posted January 12, 2023 #1 Posted January 12, 2023 these are my request at the moment; private RestRequest CreateDefaultRestRequest(string apiKey) { RestRequest restRequest = new RestRequest(Method.POST); restRequest.AddHeader("authorization", string.Format("Bearer {0}", apiKey)); restRequest.AddHeader("x-access-token", apiKey); restRequest.AddHeader("Content-type", "application/json"); return restRequest; } I believe this may have changed as well; WebSocket("wss://api." + stake.com + "/websockets", "graphql-transport-ws", new List<KeyValuePair<string, string>>()
Featured Comment
Archived
This topic is now archived and is closed to further replies.