Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,633 for form (0.03 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/reqheader/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for Request Header.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /**
         * The CRUD mode for the form.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. docs_src/request_form_models/tutorial002_py39.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 267 bytes
    - Viewed (0)
  3. docs_src/request_forms_and_files/tutorial001_py39.py

    from fastapi import FastAPI, File, Form, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: bytes = File(), fileb: UploadFile = File(), token: str = Form()
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 317 bytes
    - Viewed (0)
  4. docs_src/request_form_models/tutorial002_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 307 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/help/HelpAction.java

    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling help page requests in the Fess search application.
     * This class extends FessSearchAction to provide help functionality including
     * authentication checks and form parameter setup for the help interface.
     */
    public class HelpAction extends FessSearchAction {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/backup/admin_backup.jsp

                                                <la:form action="/admin/backup/upload/" enctype="multipart/form-data"
                                                         styleClass="form-inline">
                                                    <label for="bulkFile" class="mb-2 mr-2"><la:message
                                                            key="labels.backup_bulk_file"/></label>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/request-files.md

    ///
    
    ## 什么是 「表单数据」
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | 技术细节
    
    不包含文件时,表单数据一般用 `application/x-www-form-urlencoded`「媒体类型」编码。
    
    但表单包含文件时,编码为 `multipart/form-data`。使用了 `File`,**FastAPI** 就知道要从请求体的正确位置获取文件。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

         *
         * @param dictId the dictionary ID
         * @param form the upload form containing the dictionary file
         * @return JSON response with result status
         */
        // PUT /api/admin/dict/synonym/upload/{dictId}
        @Execute
        public JsonResponse<ApiResult> put$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

         * Excludes sensitive information like LDAP security credentials from the response.
         *
         * @return JSON response containing the general settings configuration
         */
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final EditBody form = new EditBody();
            AdminGeneralAction.updateForm(fessConfig, form);
            form.ldapAdminSecurityCredentials = null;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for File Authentication.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /** The CRUD operation mode for this form. */
        @ValidateTypeFailure
        public Integer crudMode;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top