Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 938 for FORM (0.03 sec)

  1. docs_src/request_forms_and_files/tutorial001.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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 317 bytes
    - Viewed (0)
  2. docs_src/request_forms_and_files/tutorial001_an.py

    from fastapi import FastAPI, File, Form, UploadFile
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: Annotated[bytes, File()],
        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 396 bytes
    - Viewed (0)
  3. docs_src/request_forms_and_files/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, Form, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: Annotated[bytes, File()],
        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 386 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        // POST /api/admin/dict/mapping/upload/{dictId}
        @Execute
        public JsonResponse<ApiResult> post$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
            final CharMappingFile file = charMappingService.getCharMappingFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

        @Execute
        public JsonResponse<ApiResult> post$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
            final StemmerOverrideFile file = stemmerOverrideService.getStemmerOverrideFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/profile/index.jsp

    					<div class="input-group mb-3">
    						<c:set var="ph_old_password">
    							<la:message key="labels.profile.placeholder_old_password" />
    						</c:set>
    						<la:password property="oldPassword" class="form-control"
    									 placeholder="${ph_old_password}" />
    						<div class="input-group-append">
    							<span class="input-group-text"><em class="fa fa-lock fa-fw"></span>
    						</div>
    					</div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

        @Secured({ ROLE })
        public ActionResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> asListHtml(null));
            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_edit.jsp

                                        <la:errors property="_global"/>
                                    </div>
                                    <div class="form-group row">
                                        <label for="input" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.dict_protwords_source"/></label>
                                        <div class="col-sm-9">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  9. docs_src/websockets/tutorial001.py

    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <input type="text" id="messageText" autocomplete="off"/>
                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
                var ws = new WebSocket("ws://localhost:8000/ws");
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/role/admin_role_edit.jsp

                                        <la:errors property="_global"/>
                                    </div>
                                    <div class="form-group row">
                                        <label for="name" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.role_name"/></label>
                                        <div class="col-sm-9">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 3.4K bytes
    - Viewed (0)
Back to top