Configuration environment variable, add a method to turn around third party interface information

1, will automatically add domain request before the description, examples and configuration environment variables request header information. Request 1 after a return link to request 2 initiates the access link, the link is a third party, so do not need to add the domain name and request headers. This case resolution request 2 does not apply request header

 

 

 

 

 

 

 

Solution, before addition of the code request

 

 

 

 

env.headers["Authorization"]=null

env.headers["Req-Host"]=null

Guess you like

Origin www.cnblogs.com/becks/p/12509123.html