在窗口上使用Curl

在窗口上使用Curl,curl,http-post,Curl,Http Post,如何在windows平台上使用Curl将数据发布到URL 我试过了 curl -d "username=test&pasword=test" http://127.0.0.1/login.aspx 及 但它只是显示“login.aspx”的html,而不是登录。 请帮助解决此问题尝试 curl -u test:test http://127.0.0.1/login.aspx curl -u test:test http://127.0.0.1/login.aspx

如何在windows平台上使用Curl将数据发布到URL

我试过了

curl -d "username=test&pasword=test" http://127.0.0.1/login.aspx

但它只是显示“login.aspx”的html,而不是登录。 请帮助解决此问题

尝试

curl -u test:test http://127.0.0.1/login.aspx
curl -u test:test http://127.0.0.1/login.aspx