Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 744 for POST (0.04 sec)

  1. mvnw.cmd

    if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
    :skipRcPre
    
    @setlocal
    
    set ERROR_CODE=0
    
    @REM To isolate internal variables from possible post scripts, we use another setlocal
    @setlocal
    
    @REM ==== START VALIDATION ====
    if not "%JAVA_HOME%" == "" goto OkJHome
    
    echo. >&2
    echo Error: JAVA_HOME not found in your environment. >&2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            val mediaType = "text/plain".toMediaType()
            val body = "abc".toRequestBody(mediaType)
            chain.proceed(
              originalRequest.newBuilder()
                .method("POST", body)
                .header("Content-Type", mediaType.toString())
                .header("Content-Length", body.contentLength().toString())
                .build(),
            )
          }
        client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/PublicInternalApiTest.kt

    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    
    @Suppress("DEPRECATION_ERROR")
    class PublicInternalApiTest {
      @Test
      fun permitsRequestBody() {
        assertTrue(permitsRequestBody("POST"))
        assertFalse(permitsRequestBody("GET"))
      }
    
      @Test
      fun requiresRequestBody() {
        assertTrue(requiresRequestBody("PUT"))
        assertFalse(requiresRequestBody("GET"))
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial002_an_py39.py

            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: SessionDep):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
        session.refresh(db_hero)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. helm-releases/minio-3.5.6.tgz

    sources | indent 10 }} {{- end }} minio/templates/post-install-create-user-job.yaml {{- if .Values.users }} apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-user-job namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-user-job chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": hook-succee...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 19 20:34:14 UTC 2022
    - 17.6K bytes
    - Viewed (0)
  6. helm-releases/minio-3.5.9.tgz

    sources | indent 10 }} {{- end }} minio/templates/post-install-create-user-job.yaml {{- if .Values.users }} apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-user-job namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-user-job chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": hook-succee...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 03 23:29:03 UTC 2022
    - 17.7K bytes
    - Viewed (0)
  7. helm-releases/minio-3.6.3.tgz

    sources | indent 10 }} {{- end }} minio/templates/post-install-create-user-job.yaml {{- if .Values.users }} apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-user-job namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-user-job chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": hook-succee...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 24 04:07:15 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/cors.md

    👆 💪 🔗 ⚫️ 👆 **FastAPI** 🈸 ⚙️ `CORSMiddleware`.
    
    * 🗄 `CORSMiddleware`.
    * ✍ 📇 ✔ 🇨🇳 (🎻).
    * 🚮 ⚫️ "🛠️" 👆 **FastAPI** 🈸.
    
    👆 💪 ✔ 🚥 👆 👩‍💻 ✔:
    
    * 🎓 (✔ 🎚, 🍪, ♒️).
    * 🎯 🇺🇸🔍 👩‍🔬 (`POST`, `PUT`) ⚖️ 🌐 👫 ⏮️ 🃏 `"*"`.
    * 🎯 🇺🇸🔍 🎚 ⚖️ 🌐 👫 ⏮️ 🃏 `"*"`.
    
    ```Python hl_lines="2  6-11  13-19"
    {!../../docs_src/cors/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. fastapi/background.py

        def write_notification(email: str, message=""):
            with open("log.txt", mode="w") as email_file:
                content = f"notification for {email}: {message}"
                email_file.write(content)
    
    
        @app.post("/send-notification/{email}")
        async def send_notification(email: str, background_tasks: BackgroundTasks):
            background_tasks.add_task(write_notification, email, message="some notification")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial001_an_py39.py

            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top