有时想在命令行使用post http提交一个表单,比较常用的是POST模式和GET模式 GET模式什么option都不用,只需要把变量写在url里面就可以了 比如:curl http://www.waynerQiu.com/login.cgi?user=nickwolfe&password=12345 而POST模式的option则是 -d (--data -d/--data <data>(HTTP) Sends the specified data in a POST request
JSON是什么? JavaScript Object Notation (JSON) is a text format for the serialization of structured data. It is derived from the object literals of JavaScript JSON是JavaScript Object Notation的简称,JSON易于访问且结构性强,用来存储信息(数据). JSON例子 和 XML 一样,JSON 也是基于纯文本的数据格式.