Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 1,152 for _body (0.02 seconds)

  1. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword_download.jsp

        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.elevate_word_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. tests/test_union_body_discriminator_annotated.py

            Discriminator(get_pet_type),
        ]
    
        app = FastAPI()
    
        @app.post("/pet/assignment")
        async def create_pet_assignment(pet: Pet = Body()):
            return pet
    
        @app.post("/pet/annotated")
        async def create_pet_annotated(pet: Annotated[Pet, Body()]):
            return pet
    
        client = TestClient(app)
        return client
    
    
    def test_union_body_discriminator_assignment(client: TestClient) -> None:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. docs_src/schema_extra_example/tutorial004_py310.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jul 01 16:43:29 GMT 2023
    - 786 bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/handling-errors.md

    ///
    
    ### Use o body do `RequestValidationError` { #use-the-requestvalidationerror-body }
    
    O `RequestValidationError` contém o `body` que ele recebeu de dados inválidos.
    
    Você pode utilizá-lo enquanto desenvolve seu app para registrar o *body* e debugá-lo, e assim retorná-lo ao usuário, etc.
    
    {* ../../docs_src/handling_errors/tutorial005_py39.py hl[14] *}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/handling-errors.md

    ///
    
    ### Usar el body de `RequestValidationError` { #use-the-requestvalidationerror-body }
    
    El `RequestValidationError` contiene el `body` que recibió con datos inválidos.
    
    Podrías usarlo mientras desarrollas tu aplicación para registrar el body y depurarlo, devolverlo al usuario, etc.
    
    {* ../../docs_src/handling_errors/tutorial005_py39.py hl[14] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. docs_src/request_files/tutorial002_an_py39.py

    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    <form action="/uploadfiles/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    </body>
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 826 bytes
    - Click Count (0)
  7. docs_src/schema_extra_example/tutorial004_an_py310.py

    from typing import Annotated
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jul 01 16:43:29 GMT 2023
    - 917 bytes
    - Click Count (0)
  8. cmd/test-utils_test.go

    	// Seek back to beginning.
    	body.Seek(0, 0)
    
    	// Add body
    	req.Body = io.NopCloser(body)
    	req.ContentLength = contentLength
    
    	return req, nil
    }
    
    func assembleStreamingChunks(req *http.Request, body io.ReadSeeker, chunkSize int64,
    	secretKey, signature string, currTime time.Time) (*http.Request, error,
    ) {
    	regionStr := globalSite.Region()
    	var stream []byte
    	var buffer []byte
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/duplicatehost/admin_duplicatehost_edit.jsp

        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.duplicate_host_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody body = response.body()) {
              // Consume and discard the response body.
              body.source().readByteString();
            }
          }
        });
    
        Request newYorkTimesRequest = new Request.Builder()
            .url("https://www.nytimes.com/")
            .build();
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Click Count (0)
Back to Top