python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Get zip file from RestRequest
For REST calls I use RestSharp, I have to call a service that has to return me a zip file which I will then save on File System
public bool DownloadZip(int id)
{
while (true)
...
r.pezzolati
Votes: 0
Answers: 1
Deserializing to an object and an array of objects using RestSharp
I have an API, that either returns an object1 with Status code Ok or an array of object2 that contains error messages with Status code that is not Ok.
For eg:
Case of good response:
{
"totalSiz...
Ash K
Votes: 0
Answers: 1
RestSharp AddJsonBody serialization camel case
I'm using RestSharp v107.1.1 in a .net 5.0 core web app and when i add an object to my RestRequest with AddJsonBody it's serializing the property names in camel casing.
How do i make RestSharp not mod...
LinkSoft
Votes: 0
Answers: 1
Can RestSharp obtain an oauth2 access token from IdentityServer/DuendeServer for a user programmatically if given username/password?
We have Duende server for our UI and users provide their username and password and obtain an access token that is then used by our SPA app to call api's with the access token issued by our identity se...
Jeremy F
Votes: 0
Answers: 1