about host thing when use kmac in kong -


when use kong kmac,code below,

  request req = request.post("http://172.16.1.82:8000/track/getstrategyviewv4"); req.addheader(new basicheader("host","172.16.1.37")); req.addheader(new basicheadenter code hereer("date",datestr)); req.addheader(new basicheader("authorization",authorization)); 

host api server host.
want know ,why need host in header,


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -