{
"href":"https://uploader9m.disk.yandex.net:443/upload-target/20160623T092605.135.utd.eb5dbfed7bwwb6imitb6xku41-k9m.5744252",
"method":"PUT",
"templated":false
}
"https://uploader9m.disk.yandex.net:443/upload-target/20160623T092605.135.utd.eb5dbfed7bwwb6imitb6xku41-k9m.5744252"
for /f "delims=" %%i in ('curl -H %H% %link_to_get_upload%') do set response=%%i
echo %response% | C:\jq.exe ".href" > %file%
set /p upload_url= < %file%