从批处理文件中的HTTP web请求 [英] http web request from batch file

查看:2058
本文介绍了从批处理文件中的HTTP web请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要执行从Plesk的任务计划程序HTTP Web请求(使用Windows / ASP.NET共同主办;无PowerShell中,任何)。想过使用批处理文件这一点。

I need to execute a http web request from Plesk's Task Scheduler (using shared hosting on Windows/ASP.NET; no Powershell, whatsoever). Thought about using a batch file for this.

有没有一种简单的方法来做到这一点?

Is there an easy way to do this?

推荐答案

看看卷曲。它是制作网页的请求(类似wget的,如果你以前使用过的)一个跨平台的命令行工具。你应该能够调用从批处理文件。

Take a look at curl. It's a cross-platform command-line tool for making web requests (similar to wget if you've used that before). You should be able to call that from your batch file.

这篇关于从批处理文件中的HTTP web请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆