Использовать CookieContainer в HttpGet/Post

jeerobass

Новичок
Регистрация
20.12.2017
Сообщения
4
Благодарностей
0
Баллы
1
Подскажите, как в методах HttpGet/HttpPost указать, что нужно использовать CookieContainer, а то я в кодинге не силён.:(
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 287
Благодарностей
5 860
Баллы
113
  • Спасибо
Реакции: jeerobass и evgen_po

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Благодарностей
8
Баллы
8

there's an error:

'CookieContainerProxy:http://schemas.datacontract.org/2004/07/ZennoLab.CodeRunner.ProjectProxy' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.'. Please see InnerException for more details.


Run the code in codecreator (v5.26)
 
  • Спасибо
Реакции: alexstpm

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