Questions tagged as 'restsharp'

2
answers

What is the assembly reference for "RestClient, RestRequest and HttpBasicAuthenticator"

I am developing for Windows embedded 6.0 and since I want to send emails, researching I found Mailgun this gives me the code which should be in project which is this: public static RestResponse SendSimpleMessage() { RestClient...
asked by 26.09.2016 / 18:22
0
answers

Custom checkout

I'm doing a custom checkout through the MercadoPago API and sending this data returns the error: transaction_amount attributte can´t be null. var token = Authenticate(); var client = new RestClient(_restClient); var request = new RestReq...
asked by 15.09.2017 / 16:18
1
answer

Error saving file in different path to the root project C #

I have an application in C # that downloads certain files from an API using RestSharp, I do not have problems when downloading them in the root of the project, but if for example I try to download them in the path C: / ProjectName / file.txt I h...
asked by 11.09.2018 / 22:18
0
answers

Error cunsumir a WEB API, HTTP POST

I have a problem when consuming an api that I hosted on my IIS server, that is the api, it is a POST method, where it receives two parameters [Route("api/Documentos/session")] [HttpPost] public String session(string username, s...
asked by 30.11.2018 / 20:19