although I found the http2.js package in NPM, https://www.npmjs.com/package.
, I simply wrote the get method, and there is no example of how to customize the header quota. I wonder how the gods should customize the header
look at the official node documents. I am completely confused. Uh. Please give me some advice
: authority:xxx.XXX.com
: method:POST
: path:/api/web/v1/orders
: scheme:https
accept:application/json, text/plain, /
accept-encoding:gzip, deflate, br
accept-language:zh-CN,zh;q=0.8
content-length:71
content-type:application/json;charset=UTF-8
cookie:__zlcmid=nShV2s2YoK74QV; gpm-caveat=y; prd-token= "ddd-n4Q=="; upriaaaa; _ gat=1; _ ga=GA1.2.sss.eee; _ gid=GA1.2.sss.eee
origin: https://xxx.XXX.com
referer: https://xxx.XXX.com/ex/gpm/xxx
token:ddd-n4Q==
user-agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 SE 2.x MetaSr 1.0