Skip to content

Does this MetaData support post request with body? #1

Description

@bijumon1986

I have an issue with making http/2 post connection with one server. The server is expecting post request with body. How can we acheive that with MetaData.Request..?

I used below code for Metadata.Request

MetaData.Request request = new MetaData.Request("POST",
new HttpURI("https://" + host + ":" + port + "/3/device/ff9760c0104667b4ba0bcac0d7a2e46cdc4e179fc9be45069aab74a216c3cf78"),
HttpVersion.HTTP_2, requestFields);
// Create the HTTP/2 HEADERS frame representing the HTTP request.
HeadersFrame headersFrame = new HeadersFrame(request, null, true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions