apiaryio / language-templates

Language templates used to render example HTTP calls in different languages
http://apiaryio.github.io/language-templates
MIT License
35 stars 18 forks source link

C# example code results in undefined #42

Open jpv001 opened 7 years ago

jpv001 commented 7 years ago

The request Uri for the C# example code is broken for all samples, instead of the relative url the samples display "undefined"

From the sample (http://docs.pollsapi.apiary.io/):

using (var response = await httpClient.PostAsync("undefined", content))
{
    string responseData = await response.Content.ReadAsStringAsync();
}
miiila commented 7 years ago

Hello,

thank you very much for catching this! We will definitely correct it.

Mila

javifr commented 7 years ago

Hi, we'd apreciate a lot the correction of this bug. +1

julioschutz commented 7 years ago

Hello,

Is there any correction ?

Thanks