Question/Bug/C# - Can't save HTTPget request header/body to variable

lukas76

Client
Регистрация
14.04.2012
Сообщения
48
Благодарностей
10
Баллы
8
I'm running this code in C#
Код:
   var result = ZennoPoster.HttpGet (
        "https://api..com/api/",
        "http://192.168.1.2:8888",
        "gzip",
        ZennoLab.InterfacesLibrary.Enums.Http.ResponceType.HeaderAndBody,
        900,
        "",
        "okhttp/2.7.5",
        false,
        6,
        AdditionalHeaders: new [] {"Authorization: OAuth ", "Host: api..com"});
return result;
I setup a local proxy with fiddler to see if the request is working and it is, wonderfully.

I just can't grab/save the data to a variable either through a bug or I'm just not too great at C#.

Can someone show me how to save/pass this data back to Zennoposter?

Even with that "return result;" it isn't passing the data back to Zennoposter, its just a empty variable.

Thanks,

Lukas
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)