mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 03:30:01 +08:00
feat: wings接口先使用
This commit is contained in:
@@ -467,6 +467,8 @@ func (w *WingsService) callWingsAPI(ctx context.Context, request WingsActionRequ
|
|||||||
// Set headers
|
// Set headers
|
||||||
httpReq.Header.Set("Content-Type", "application/json")
|
httpReq.Header.Set("Content-Type", "application/json")
|
||||||
httpReq.Header.Set("Accept", "application/json")
|
httpReq.Header.Set("Accept", "application/json")
|
||||||
|
httpReq.Header.Add("x-use-ppe", "1")
|
||||||
|
httpReq.Header.Add("x-tt-env", "ppe_refactor_merge")
|
||||||
|
|
||||||
// Add authentication headers if using external API
|
// Add authentication headers if using external API
|
||||||
if w.accessKey != "" && w.secretKey != "" {
|
if w.accessKey != "" && w.secretKey != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user