Hi, do we have oAuth 2.0 support documentation for RestSharp. I don't find any kind of API documentation for RestSharp in website. https://restsharp.dev/usage/authenticators.html
Please provide some help to locate the documentation
Hello everybody. I am facing a deserialization problem. Hopefully someone can help me out.
I have to deserialize a list without a container item. It has the following format:
How can I archive it?
Hi all, is it expected that the current locale changes the way the decimal separator is represented in GET requests (and possibly other places)?
E.g.: My system is set to german locale and unless I turn floats to strings myself with the
invariant locale when adding them to a request, floats get separated with
, in the URL. This confuses the API I want to talk to.
float a = 1.2f; var request = new RestRequest("column/longitudinal/diameter_quantity", DataFormat.None) .AddParameter("a", ParameterType.QueryString); var response = restClient.Execute<LongitudinalDiameterAndQuantity>(request, Method.GET);
results in a request to URL
, is used encoded as
SecureChannelFailure. The exact same endpoint works fine in Chrome, Firefox, Powershell Curl. RestSharp just won't connect.
request.AddJsonBody(mYtype); var httpClient = new RestClient("service url"); IRestResponse clientResponse = httpClient.Execute(request);