Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 153 for Requestbody (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostFile {
      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/StorageTests.java

            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            return updateMap;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. docs/de/llm-prompt.md

    * the performance: NOT die Performance
    * the query: die Query
    * the recap: die Zusammenfassung
    * the request (what the client sends to the server): der Request
    * the request body: der Requestbody
    * the request bodies (plural): die Requestbodys
    * the response (what the server sends back to the client): die Response
    * the return type: der Rückgabetyp
    * the return value: der Rückgabewert
    * the startup (the event of the app): der Startup
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      @Test
      fun requestBodySuccessStreaming() {
        val requestBody: RequestBody =
          object : RequestBody() {
            override fun contentType() = "text/plain".toMediaType()
    
            override fun writeTo(sink: BufferedSink) {
              sink.write(ByteArray(8192))
              sink.flush()
            }
          }
        requestBodySuccess(requestBody, CoreMatchers.equalTo(8192L), CoreMatchers.equalTo(19L))
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  5. tests/test_schema_extra_examples.py

                    "/schema_extra/": {
                        "post": {
                            "summary": "Schema Extra",
                            "operationId": "schema_extra_schema_extra__post",
                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Item"}
                                    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostString.java

     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostString {
      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  7. docs_src/path_operation_advanced_configuration/tutorial006_py310.py

                "name": "Maaaagic",
                "price": 42,
                "description": "Just kiddin', no magic here. ✨",
            },
        }
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {
                    "application/json": {
                        "schema": {
                            "required": ["name", "price"],
                            "type": "object",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

      fun testHeadAfterPut() {
        class ErringRequestBody : RequestBody() {
          override fun contentType(): MediaType = "application/xml".toMediaType()
    
          override fun writeTo(sink: BufferedSink) {
            sink.writeUtf8("<el")
            sink.flush()
            throw IOException("failed to stream the XML")
          }
        }
    
        class ValidRequestBody : RequestBody() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. tests/test_request_params/test_file/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["multipart/form-data"]["schema"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 271 bytes
    - Click Count (0)
  10. fastapi/openapi/models.py

    class Header(ParameterBase):
        pass
    
    
    class RequestBody(BaseModelWithConfig):
        description: str | None = None
        content: dict[str, MediaType]
        required: bool | None = None
    
    
    class Link(BaseModelWithConfig):
        operationRef: str | None = None
        operationId: str | None = None
        parameters: dict[str, Any | str] | None = None
        requestBody: Any | str | None = None
        description: str | None = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top