- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 384 for POST (0.55 sec)
-
README.md
```java import org.codelibs.curl.Curl; Curl.post("https://api.example.com/items") .body("{\"name\":\"item1\"}") .header("Content-Type", "application/json") .execute( response -> System.out.println("Async status: " + response.getHttpStatusCode()), error -> error.printStackTrace()); ``` ## API Overview - `org.codelibs.curl.Curl`: entry point for HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE).
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:11:14 UTC 2025 - 2.5K bytes - Viewed (0) -
.github/stale.yml
exemptAssignees: false # Label to use when marking as stale staleLabel: stale # Comment to post when marking as stale. Set to `false` to disable markComment: >- This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 15 days if no further activity occurs. Thank you for your contributions. # Comment to post when removing the stale label. # unmarkComment: > # Your comment here.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 24 04:36:59 UTC 2022 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
String body = "{\"key\":\"value\"}"; CurlRequest result = request.body(body); assertSame(request, result); // Fluent API assertEquals(body, request.body()); } @Test public void testBodyInputStreamMethod() { CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
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 }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/ITBase.java
+ DEFAULT_TEST_TOKEN + "\"}\n") .when() .post(getEsUrl() + "/_bulk"); given().contentType("application/json").when().post(getEsUrl() + "/_refresh"); logger.info("Created Token: {}", DEFAULT_TEST_TOKEN); return DEFAULT_TEST_TOKEN; } public static void deleteTestToken() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
} /** * Creates a new CurlRequest with the HTTP POST method for the specified URL. * * @param url the URL to which the POST request will be sent * @return a new CurlRequest object configured with the POST method and the specified URL */ public static CurlRequest post(final String url) { return new CurlRequest(Method.POST, url); } /**
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/pt/docs/advanced/openapi-webhooks.md
## Documentando webhooks com o FastAPI e OpenAPI Com o **FastAPI**, utilizando o OpenAPI, você pode definir os nomes destes webhooks, os tipos das operações HTTP que a sua aplicação pode enviar (e.g. `POST`, `PUT`, etc.) e os **corpos** da requisição que a sua aplicação enviaria.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/gaussdb_test.go
} DB.Migrator().DropTable(&Post{}, &Category{}, "post_categories") DB.AutoMigrate(&Post{}, &Category{}) post := Post{ Title: "Hello World", Categories: []*Category{ {Title: "Coding"}, {Title: "Golang"}, }, } if err := DB.Create(&post).Error; err != nil { t.Errorf("Failed, got error: %v", err) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 6.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
final OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2K bytes - Viewed (0)