How to do HttpPost/Get with C#????

Alvaro

Новичок
Регистрация
17.07.2014
Сообщения
5
Благодарностей
1
Баллы
3
Hello everyone!

During the last month, I have been using zenno making get/post requests.
It is much more faster.

The problem is for some sites I have to enter more headers than cookies and user agent... and as far as I know we can only do this in theno with C#.

I have been trying but when I test the code it always appears "ok" but i cant never get anything more. I need to get the Headers and content. This is the code I am using:

//////////////////CODE/////////////////
var resultHttpGet = ZennoPoster.HttpGet("https://www.google.com/", "", "UTF-8", ZennoLab.InterfacesLibrary.Enums.Http.ResponceType.BodyOnly);
return resultHttpGet
/////////////////////////////////////////

I also try this:
//////////////////CODE/////////////////
ZennoPoster.HttpGet("https://www.google.com/", "", "UTF-8", ZennoLab.InterfacesLibrary.Enums.Http.ResponceType.BodyOnly);
/////////////////////////////////////////


So, ¿What should I do?

Thanks =)
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

Alvaro

Новичок
Регистрация
17.07.2014
Сообщения
5
Благодарностей
1
Баллы
3
Pleas send me a template example...
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Example is above, check link. It's for C# action
 

Alvaro

Новичок
Регистрация
17.07.2014
Сообщения
5
Благодарностей
1
Баллы
3
Yes I entered in C# action, but I do something wrong. Pleas post a mini template just with the c# action so that way I can see how to do it.
I do something wrong and my response is always empty
 
  • Спасибо
Реакции: globalledstore

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