Skip to content

[Feature] Allow accessing request body and headers when performing http request #16239

Open
@Sakshamrameshhudiya

Description

@Sakshamrameshhudiya

I am trying invoking an API via playwright and I am setting extraheaders via playwright = Playwright.create();
return playwright.request().newContext(new APIRequest.NewContextOptions()
.setBaseURL(TeamCityEnvironmentVariable("APIBaseUrl"))
.setExtraHTTPHeaders(headers));

and also adding request body to it via pojo classes but I am not able to see what headers and request body is set onces response is given by API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions