Most voted "restsharp" questions
8 questions
Sort by count of
-
2
votes2
answers3129
viewsHow to assemble a Restrequest with x-www-form-urlencoded in Restsharp C#
I know how to requisition using Restsharp when the content-type = application/json, now I need to make a request application/x-www-form-urlencoded but I can’t find the right way to do it, follow the…
-
1
votes0
answers78
viewsEncoding exception.Registerprovider with Restsharp
Hello! I am getting an exception in "mscorlib.dll" when using Restsharp to every request made to the API. Exception thrown: 'System.Argumentexception' in mscorlib.dll ("'' is not a valid encoding…
-
1
votes0
answers133
viewsRestsharp taking his time making the first requisition
I am making an application using Xamarin Native and I decided to use Restsharp to make the requests to my API, the problem is that the first request made takes a few seconds (some 3) to be made,…
-
1
votes2
answers674
viewsHow to send WS XML file from Safe Harbour (made in PHP) using Restsharp C#
I am trying to integrate a Ct-e XML file with the Safe Harbor Web Service (done in PHP) using Restsharp in C# and always returns message saying that they could not open XML or that file is empty.…
-
0
votes0
answers34
viewsRestsharp canceling the operation
Good afternoon, I have an application that via Restsharp I make a call on the Revenue Service to retrieve the information I need. However, as I use a third-party service, we do not know when this…
-
0
votes0
answers83
viewsGetting null using external api with restsharp
I am facing a problem when trying to get an external API that returns Json. Instead of storing the value of json variables in the model is receiving null. Model: namespace bitcoin.Models { public…
-
0
votes1
answer69
viewsError accessing end-point using restsharp
I have an API (.NET Framework 4.8) that communicates with another layer (.NET Framework 4.0) where I have developed a method that persists an information in the database, and at the end triggers…
-
0
votes1
answer54
viewsRequest Restsharp
Good night people. I’m new to the C# world and I’m having the following problem using a C# code that makes an authentication request using Restsharp. This code was generated/exported from a request…