Jump to content

help for cookie api?


sanloro

Featured Comment

Posted

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>>()
 
 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...