| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
G_Z 09.02.2018 13:15
Если доступа к консоли нет, что само по себе странно, попробуйте логировать этапы соединения:@main[]
^log[curl test begin]
^try{
^log[try]
^curl:session{
^log[session]
$response[^curl:load[
$.url[https://www.yandex.ru]
$.ssl_verifypeer(false)
$.connecttimeout(5)
$.timeout(5)
]]
^log[loaded ^json:string[^hash::create[$response];$.one-line(true)]]
}
}{
$exeption.handled(true)
^log[exeption ^json:string[$exeption;$.one-line(true)]]
}
^log[curl test end]
@log[message]
$message[$message^#0A]
^message.save[append;/curl.log]