I'm using the code below to get the "location" header from the RestSharp response headers. But there is no "location" header in the Headers array so t ...
I'm using the code below to get the "location" header from the RestSharp response headers. But there is no "location" header in the Headers array so t ...
I'm developing a C# application that needs to contact a web-based API. When contacting the API, the first thing it does is try to get an authorization ...
In Company where I work, we have an ASP.NET web application that is hosted on IIS server and binded already with CertificateA. This certificate is own ...
This C# Console application connects to a server using REST with RestSharp this pc where is hosted doesn't have a stable internet connection so someti ...
public class ProductViewModel { public int id { get; set; } public string title { get; set; } public string description { get; set; } ...
} -- ProductsController: JsonException: The JSON value could not be converted to System.Collections.Generic.List`1[DummyShop.Service.ViewMode ...
I am trying to connect and pull tacking data from FedEx using there API. I have been successful in connecting to and getting a response from https:// ...
This is the API URL I need to call - "https://localhost:300/api/vi/Product?center=10&ProdNumber=271" It has 2 quey parameters, center is of type ...
My API method and my RestSharp call My restsharp api keeps throwing an UnsupportedMediaType exception, and when i try to debug the call in a mid ...
I am new to the usage of APIs and I want to use an external one and request some info. However, it states that one value is: your.apikey instead of ap ...
I'm attempting to use my API to retrieve the payment type. The attempt to obtain the payment status did not result in an error, but the attempt to obt ...
I'm new to oauth2, but I have tried my best to learn it. this should be just a simple first step into getting token. so the situation is like this. I ...
In updating from RestSharp 106 to 108 I've been unable to come up with an elegant replacement for the following. I've looked at the migration document ...
I am new to API, RestSharp and JSON. I got the Response Data from the API, my problem is I didn't know how to pass the response data to JSON Propertie ...
In RestAPI specflow in VS2022 : I made one API call and received ID in response content. Now I want to use that ID (which is received from first API C ...
In the RestSharp documentation here (https://restsharp.dev/v107/#delegating-handlers) there's a code snippet that looks like this: I would like to ...
I have 3 environments (Dev, Uat/Qa and Prod/Live) and all have Visual Studio 2019. Currently I am working on a project on Dev and transferred the code ...
I am trying to make an api call to one of our internal services, I am using RESTSharp. Normally If I am using postman to call the service, I first g ...
I'm trying to send a document to a REST service using RestSharp. The request must be a multipart/form-data request with two parameters. The first one, ...
I am quite new to programming and I am meant to make a post request to Taxdoo APi. I am using the latest version of RestSharp. I tried reading their d ...