Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 744 for POST (0.02 sec)

  1. docs/pl/docs/tutorial/first-steps.md

    ///
    
    Podczas budowania API, "ścieżka" jest głównym sposobem na oddzielenie "odpowiedzialności" i „zasobów”.
    
    #### Operacje
    
    "Operacje" tutaj odnoszą się do jednej z "metod" HTTP.
    
    Jedna z:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...i te bardziej egzotyczne:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

    import java.util.Objects;
    
    import org.codelibs.fess.crawler.Constants;
    
    /**
     * @author shinsuke
     *
     */
    public class RequestData {
        public enum Method {
            GET, POST, HEAD;
        }
    
        private Method method;
    
        private String url;
    
        private String metaData;
    
        public Method getMethod() {
            return method;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tests/test_response_model_data_filter.py

    
    class UserDB(UserBase):
        hashed_password: str
    
    
    class PetDB(BaseModel):
        name: str
        owner: UserDB
    
    
    class PetOut(BaseModel):
        name: str
        owner: UserBase
    
    
    @app.post("/users/", response_model=UserBase)
    async def create_user(user: UserCreate):
        return user
    
    
    @app.get("/pets/{pet_id}", response_model=PetOut)
    async def read_pet(pet_id: int):
        user = UserDB(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/openapi-webhooks.md

    ## Documenting webhooks with **FastAPI** and OpenAPI
    
    With **FastAPI**, using OpenAPI, you can define the names of these webhooks, the types of HTTP operations that your app can send (e.g. `POST`, `PUT`, etc.) and the request **bodies** that your app would send.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:38:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

        if scope:
            data["scope"] = scope
        response = client.post("/token", data=data)
        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    @needs_py310
    def test_login(client: TestClient):
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

                return null;
            });
    
            return asJson(new ApiUpdateResponse().id(fileAuth.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/fileauth/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py

    from docs_src.path_operation_advanced_configuration.tutorial004 import app
    
    from ...utils import needs_pydanticv1, needs_pydanticv2
    
    client = TestClient(app)
    
    
    def test_query_params_str_validations():
        response = client.post("/items/", json={"name": "Foo", "price": 42})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Foo",
            "price": 42,
            "description": None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. fastapi/openapi/constants.py

    METHODS_WITH_BODY = {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"}
    REF_PREFIX = "#/components/schemas/"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 153 bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

        return DnsOverHttps.Builder()
          .client(bootstrapClient)
          .url("https://dns.google/dns-query".toHttpUrl())
          .bootstrapDnsHosts(getByIp("8.8.4.4"), getByIp("8.8.8.8"))
          .post(true)
          .build()
      }
    
      private fun buildCloudflareIp(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request-forms.md

    Se você quiser ler mais sobre essas codificações e campos de formulário, vá para o <a href="https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> web docs para <code>POST</code></a>.
    
    ///
    
    /// warning | "Aviso"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top