-
Apologies for creating a thread on something very basic, but; is there a simple code example of performing an HTTP GET request via the AWS CRT HTTP Client? There are many blog posts that cover how to initialize the client, but I'm having a challenge in finding any complete example that demonstrates performing a GET request and consuming the response. Below is a Coretto17 example using using the native
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @grandamp, we have some sample code of using Note that HTTP/2 is not supported in the AWS CRT HTTP client at the moment though. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Hi @grandamp, we have some sample code of using
AwsCrtAsyncHttpClient
as a generic HTTP client in our test codeaws-sdk-java-v2/http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/AwsCrtHttpClientSpiVerificationTest.java
Lines 191 to 231 in b57d499