如何使用curl和命令提示符发布html多格式数据 以下是我的网址:
curl "http://my.ip/index.php?route=catalog/product/update&token=b947117987544a88f8421f9b66709032&product_id=1535&sort=p.model&order=ASC" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H "Accept-Language: en-US,en;q=0.5" -H "Referer: http://my.ip/index.php?route=catalog/product/update&token=b947117987544a88f8421f9b66709032&product_id=1535&sort=p.model&order=ASC" -H "Content-Type: multipart/form-data; boundary=---------------------------15396138621899" -H "Connection: keep-alive" -H "Cookie: PHPSESSID=obkgnpnrdof7tbi8qqcdfmaqb2" -H "Upgrade-Insecure-Requests: 1" --data test2.txt -o out.html
这是表格数据 在文本文件中
----------------------------- 4523394717268内容处置:表格数据; name =“ broadcaster_id”
-1 ----------------------------- 4523394717268内容处置:表格数据; name =“ broadcaster_channel_name”
PH6 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_description [1] [meta_description]”
----------------------------- 4523394717268内容处置:表格数据; name =“ product_description [1] [meta_keyword]”
----------------------------- 4523394717268内容处置:表格数据; name =“ product_description [1] [description]”
----------------------------- 4523394717268内容处置:表格数据; name =“ product_description [1] [tag]”
----------------------------- 4523394717268内容处置:表格数据; name =“ lcn”
21 ----------------------------- 4523394717268内容处置:表格数据; name =“ model”
21 ----------------------------- 4523394717268内容处置:表格数据; name =“ service_id”
25003 ----------------------------- 4523394717268内容处置:表格数据; name =“ access_criteria”
1350 ----------------------------- 4523394717268内容处置:表格数据;名称=“价格”
1.00 ----------------------------- 4523394717268内容处置:表格数据; name =“ type”
1 ----------------------------- 4523394717268内容处置:表格数据; name =“ tax_class_id”
0 ----------------------------- 4523394717268内容处置:表格数据; name =“关键字”
----------------------------- 4523394717268内容处置:表格数据; name =“ image”
----------------------------- 4523394717268内容处置:表格数据; name =“ date_available”
2018-03-27 ----------------------------- 4523394717268内容处置:表格数据; name =“状态”
1 ----------------------------- 4523394717268内容处置:表格数据; name =“ sort_order”
1 ----------------------------- 4523394717268内容处置:表格数据; name =“ category”
----------------------------- 4523394717268内容处置:表格数据; name =“ product_category []”
110 ----------------------------- 4523394717268内容处置:表格数据; name =“ filter”
----------------------------- 4523394717268内容处置:表格数据; name =“ product_store []”
0 ----------------------------- 4523394717268内容处置:表格数据; name =“ related”
----------------------------- 4523394717268内容处置:表格数据; name =“ option”
----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [product_option_id]”
1648 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [name]”
订阅 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [option_id]”
13 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [type]”
选择 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [product_option_value] [0] [option_value_id]”
49 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [product_option_value] [0] [product_option_value_id]”
1750 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [product_option_value] [0] [price_prefix]”
+ ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [product_option_value] [0] [price]”
1.0000 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [product_option_value] [0] [points_prefix]”
+ ----------------------------- 4523394717268内容处置:表格数据; name =“ product_option [0] [product_option_value] [0] [points]”
0 ----------------------------- 4523394717268内容处置:表格数据; name =“ points”
0 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_reward [67] [points]”
0 ----------------------------- 4523394717268内容处置:表格数据; name =“ product_layout [0] [layout_id]”
----------------------------- 4523394717268-