📜  所有请求的超测试集标头 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:30.694000             🧑  作者: Mango

代码示例1
request(app)
  .set('Authorization', 'abc123') // DOES NOT WORK
  .post('/api')

request(app)
  .post('/api')
  .set('Authorization', 'abc123') // Works.