func addRequest(p *robot.Page, tag, url, cookie, content string) { req := robot.NewRequest(url, "json", tag, "GET", "", nil, nil, nil, content) p.AddTargetRequestWithParams(req) }