...
| Блок кода | ||
|---|---|---|
| ||
$response = http.sendRequest("http://some.url?p1=v1&p2=v2", "PUT", "some body")
$contentType = $response.header("Content-Type") |
toFile() string
Назначение: получение файла из HTTP ответа.
Возвращаемое значение: идентификатор загруженного файла.
| Блок кода | ||
|---|---|---|
| ||
$response = http.sendRequest("http://some.url", "GET")
$fileId = $response.toFile() |
Системные функции
sys.sleep(microseconds int)
...