Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,021 for foram (0.05 sec)

  1. tests/test_forms_single_param.py

    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/form/")
    def post_form(username: Annotated[str, Form()]):
        return username
    
    
    client = TestClient(app)
    
    
    def test_single_form_field():
        response = client.post("/form/", data={"username": "Rick"})
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 11:24:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/orig/view/advance.jsp

    					suffix="errors.front_suffix"
    				/>
    			</div>
    			<div class="form-group row">
    				<label for="as_q" class="col-lg-3 col-md-4 col-sm-5 col-12 col-form-label"><la:message
    						key="labels.advance_search_must_queries"
    					/></label>
    				<div class="col-lg-5 col-md-8 col-sm-7 col-xs-6">
    					<input class="form-control" type="text" id="as_q" name="as.q" value="${f:h(fe:join(as.q))}">
    				</div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        public HtmlResponse editTags(final TagForm form) {
            validate(form, messages -> {}, () -> asEditTagsHtml(form.path, form.name));
            saveToken();
            return asEditTagsHtml(form.path, form.name);
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse updateTags(final TagForm form) {
            validate(form, messages -> {}, () -> asEditTagsHtml(form.path, form.name));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/wizard/admin_wizard_config.jsp

                                                     styleClass="form-control"/>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="crawlingConfigPath" class="col-sm-3 text-sm-right col-form-label"><la:message
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse crawlingConfig(final CrawlingConfigForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminWizard_AdminWizardConfigJsp));
            verifyTokenKeep(this::asIndexHtml);
            final String name = crawlingConfigInternal(form);
            saveInfo(messages -> messages.addSuccessCreateCrawlingConfigAtWizard(GLOBAL, name));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/request-files.md

    ///
    
    ## What is "Form Data"
    
    The way HTML forms (`<form></form>`) sends the data to the server normally uses a "special" encoding for that data, it's different from JSON.
    
    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | "Technical Details"
    
    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded` when it doesn't include files.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig.jsp

                                        <div class="form-group row">
                                            <label for="name" class="col-sm-2 text-sm-right col-form-label"><la:message
                                                    key="labels.name"/></label>
                                            <div class="col-sm-10">
                                                <la:text styleId="name" property="name" styleClass="form-control"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

        @CustomSize(maxKey = "form.admin.max.input.size")
        public String paths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedPaths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedPaths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedDocPaths;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tests/test_forms_single_model.py

    @app.post("/form/")
    def post_form(user: Annotated[FormModel, Form()]):
        return user
    
    
    client = TestClient(app)
    
    
    def test_send_all_data():
        response = client.post(
            "/form/",
            data={
                "username": "Rick",
                "lastname": "Sanchez",
                "age": "70",
                "tags": ["plumbus", "citadel"],
                "with": "something",
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:51:00 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. fastapi/security/oauth2.py

    
    class OAuth2PasswordRequestForm:
        """
        This is a dependency class to collect the `username` and `password` as form data
        for an OAuth2 password flow.
    
        The OAuth2 specification dictates that for a password flow the data should be
        collected using form data (instead of JSON) and that it should have the specific
        fields `username` and `password`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top