content: package org.alx.article._48_java_rest_clients.native_client;
  
  import java.net.URI;
  import java.net.http.HttpClient;
  import java.net.http.HttpRequest;
  import java.net.http.HttpResponse;
  import java.io.IOException;
  
  public class SimpleGetRequest {
      public static void main(String[] args) {
          // Create an HttpClient instance
          HttpClient client = HttpClient.newHttpClient();
  
          // Create a HttpRequest
          HttpRequest request = HttpRequest.newBuilder()
                  .uri(URI.create("https://api.github.com"))
                  .GET()
                  .build();
  
          try {
              // Send the request and get the response
              HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
  
              // Print the response status code and body
              System.out.println("Status code: " + response.statusCode());
              System.out.println("Response body: " + response.body());
          } catch (IOException | InterruptedException e) {
              e.printStackTrace();
          }
      }
  }