Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Pesse (0.14 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(MockResponse())
        val request =
          Request.Builder()
            .url(server.url("/"))
            .method("POST", body.toRequestBody(null))
            .build()
        val credential = basic("jesse", "secret")
        client =
          client.newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val response = client.newCall(request).execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/guide/PostExample.java

            + "]}";
      }
    
      public static void main(String[] args) throws IOException {
        PostExample example = new PostExample();
        String json = example.bowlingJson("Jesse", "Jake");
        String response = example.post("http://www.roundsapp.com/post", json);
        System.out.println(response);
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top