Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this MetaData support post request with body? #1

Open
bijumon1986 opened this issue Dec 9, 2017 · 0 comments
Open

Does this MetaData support post request with body? #1

bijumon1986 opened this issue Dec 9, 2017 · 0 comments

Comments

@bijumon1986
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant