在linux和Windows使用curl
来源:互联网 发布:素描入门教程 知乎 编辑:程序博客网 时间:2024/06/06 00:35
在linux
- &需要用\&转义
GET:
curl http://119.29.151.177/account/password/find?channel=2201\&account=abc
POST:
curl -X POST http://demo.wiliamy.com/account/password/find?channel=2201\&account=abc
在windos power shell
-&需要用双引号括起来
GET:
curl http://demo.com/account/password/find
POST:
curl http://demo.com/account/password/find?channel=2201"&"account=abc -Method post
我们可以用get-help 看帮助信息:
get-help Invoke-WebRequest 名称 Invoke-WebRequest语法 Invoke-WebRequest [-Uri] <uri> [<CommonParameters>]别名 iwr wget curl备注 Get-Help 在此计算机上找不到该 cmdlet 的帮助文件。它仅显示部分帮助。 -- 若要下载并安装包含此 cmdlet 的模块的帮助文件,请使用 Update-Help。 -- 若要联机查看此 cmdlet 的帮助主题,请键入: "Get-Help Invoke-WebRequest -Online" 或 转到 http://go.microsoft.com/fwlink/?LinkID=217035。
0 0
- 在linux和Windows使用curl
- 在Windows下使用curl命令
- 在Windows下使用curl命令
- 在Windows下使用curl命令
- 在Windows CMD命令行中使用curl
- windows环境下 curl 安装和使用
- 在Windows和Linux下使用LaTeX
- DIRECTOR_SEPARATOR在Windows和Linux中的使用
- Linux CURL的安装和使用
- Linux CURL的安装和使用
- Linux CURL的安装和使用
- Linux CURL的安装和使用
- Linux CURL的安装和使用
- Linux CURL的安装和使用
- linux下curl的安装和使用
- Windows下curl使用
- Windows下curl使用
- Windows下curl使用
- 数据库-内连接与外连接的区别(举例说明)
- HashMap的遍历方法
- Error:(1, 0) Plugin with id 'com.android.application' not found
- arm地址线的链接方式
- 多校训练赛 Furude_Rika and wall 解题报告(dp)
- 在linux和Windows使用curl
- 为什么Linux的fdisk分区时第一块磁盘分区的First Sector是2048?
- HDU5486-Difference of Clustering
- 浅谈C++里的异常类
- Intellij Idea 解决File 工具栏中没有 Import Project
- 金蝶Bos的报表跟过滤条件
- 数据库三大范式
- 优秀BLOG
- Android ExpandableListView的技巧