mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-07 05:42:46 +08:00
feat: wings接口先使用
This commit is contained in:
@@ -467,6 +467,8 @@ func (w *WingsService) callWingsAPI(ctx context.Context, request WingsActionRequ
|
||||
// Set headers
|
||||
httpReq.Header.Set("Content-Type", "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
|
||||
if w.accessKey != "" && w.secretKey != "" {
|
||||
|
||||
Reference in New Issue
Block a user