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

  • Автор темы Автор темы jeerobass
  • Дата начала Дата начала

jeerobass

Новичок
Регистрация
20.12.2017
Сообщения
4
Реакции
0
Баллы
1
Подскажите, как в методах HttpGet/HttpPost указать, что нужно использовать CookieContainer, а то я в кодинге не силён.:(
 
Да можно, посмотрите пример вот здесь:
https://help.zennolab.com/en/v5/zennoposter/5.18.0.0/topic891.html


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

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