Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for POST (0.14 sec)

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

      }
    
      @Test
      @Throws(IOException::class)
      fun http1DoesntSupportDuplex() {
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(AsyncRequestBody())
              .build(),
          )
        assertFailsWith<ProtocolException> {
          call.execute()
        }
      }
    
      @Test
      fun trueDuplexClientWritesFirst() {
        enableProtocol(Protocol.HTTP_2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/remote-repo/org/apache/maven/maven/2.0/maven-2.0.pom

          <post>******@****.***</post>
          <archive>http://mail-archives.apache.org/mod_mbox/maven-users</archive>
        </mailingList>
        <mailingList>
          <name>Maven Developer List</name>
          <subscribe>******@****.***</subscribe>
          <unsubscribe>******@****.***</unsubscribe>
          <post>******@****.***</post>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. README.md

        return response.body().string();
      }
    }
    ```
    
    
    Post to a Server
    ----------------
    
    This program posts data to a service. [Full source][post_example].
    
    ```java
    public static final MediaType JSON = MediaType.get("application/json");
    
    OkHttpClient client = new OkHttpClient();
    
    String post(String url, String json) throws IOException {
      RequestBody body = RequestBody.create(json, JSON);
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          apply {
            this.url = url
          }
    
        fun includeIPv6(includeIPv6: Boolean) =
          apply {
            this.includeIPv6 = includeIPv6
          }
    
        fun post(post: Boolean) =
          apply {
            this.post = post
          }
    
        fun resolvePrivateAddresses(resolvePrivateAddresses: Boolean) =
          apply {
            this.resolvePrivateAddresses = resolvePrivateAddresses
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_1x.md

       prevent flakiness from multiple threads concurrently accessing a stream.
    
    ## Version 1.5.3
    
    _2014-03-29_
    
     * Fix bug where the Content-Length header was not always dropped when
       following a redirect from a POST to a GET.
     * Implement basic support for `Thread.interrupt()`. OkHttp now checks
       for an interruption before doing a blocking call. If it is interrupted,
       it throws an `InterruptedIOException`.
    
    ## Version 1.5.2
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/openapi-webhooks.md

    ## Webhooks mit **FastAPI** und OpenAPI dokumentieren
    
    Mit **FastAPI** können Sie mithilfe von OpenAPI die Namen dieser Webhooks, die Arten von HTTP-Operationen, die Ihre Anwendung senden kann (z. B. `POST`, `PUT`, usw.) und die Request**bodys** definieren, die Ihre Anwendung senden würde.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:06:03 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/openapi-webhooks.md

    ## Documenting webhooks with **FastAPI** and OpenAPI
    
    With **FastAPI**, using OpenAPI, you can define the names of these webhooks, the types of HTTP operations that your app can send (e.g. `POST`, `PUT`, etc.) and the request **bodies** that your app would send.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api

    	public static final field MAX_RESPONSE_SIZE I
    	public final fun client ()Lokhttp3/OkHttpClient;
    	public final fun includeIPv6 ()Z
    	public fun lookup (Ljava/lang/String;)Ljava/util/List;
    	public final fun post ()Z
    	public final fun resolvePrivateAddresses ()Z
    	public final fun resolvePublicAddresses ()Z
    	public final fun url ()Lokhttp3/HttpUrl;
    }
    
    public final class okhttp3/dnsoverhttps/DnsOverHttps$Builder {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 27 15:23:43 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post = Request.Builder().url("http://localhost/api").post(body).build()
        assertThat(post.method).isEqualTo("POST")
        assertThat(post.body).isEqualTo(body)
    
        val put = Request.Builder().url("http://localhost/api").put(body).build()
        assertThat(put.method).isEqualTo("PUT")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        server.enqueue(MockResponse())
        client.newCall(request().post("Hi?".toRequestBody(PLAIN)).build()).execute()
        applicationLogs
          .assertLogEqual("--> POST $url (3-byte body)")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> POST $url http/1.1 (3-byte body)")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
Back to top