Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for PUT (0.14 sec)

  1. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(post.method).isEqualTo("POST")
        assertThat(post.body).isEqualTo(body)
    
        val put = Request.Builder().url("http://localhost/api").put(body).build()
        assertThat(put.method).isEqualTo("PUT")
        assertThat(put.body).isEqualTo(body)
    
        val patch = Request.Builder().url("http://localhost/api").patch(body).build()
        assertThat(patch.method).isEqualTo("PATCH")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

          contentLength: Long = -1L,
        ): ResponseBody = commonAsResponseBody(contentType, contentLength)
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toResponseBody(contentType)",
              imports = ["okhttp3.ResponseBody.Companion.toResponseBody"],
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. docs/tr/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Az önceki örneğe geri dönelim, **FastAPI**'ın yapacaklarına bir bakış atalım:
    
    * `item_id`'nin `GET` ve `PUT` istekleri için, yolda olup olmadığının kontol edecek.
    * `item_id`'nin `GET` ve `PUT` istekleri için, tipinin `int` olduğunu doğrulayacak.
        * Eğer değilse, sebebini belirten bir hata mesajı gösterecek.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  4. docs/uk/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Повертаючись до попереднього прикладу коду, **FastAPI**:
    
    * Підтвердить наявність `item_id` у шляху для запитів `GET` та `PUT`.
    * Підтвердить, що `item_id` має тип `int` для запитів `GET` and `PUT`.
        * Якщо це не так, клієнт побачить корисну, зрозумілу помилку.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                                bindings.put(FIELD_FOR_PROPERTY, fir, Type.getType(getBinaryPresentationWithCorrection(it.type)) to it.name)
                            }
                        }
                        fir.getter?.let { getter ->
                            methods.singleOrNull { it.returnType != PsiType.VOID }?.let {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. docs/fr/docs/index.md

        * ReDoc.
    
    ---
    
    Pour revenir à l'exemple de code précédent, **FastAPI** permet de :
    
    * Valider que `item_id` existe dans le chemin des requêtes `GET` et `PUT`.
    * Valider que `item_id` est de type `int` pour les requêtes `GET` et `PUT`.
        * Si ce n'est pas le cas, le client voit une erreur utile et claire.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  7. README.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Coming back to the previous code example, **FastAPI** will:
    
    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. docs/em/docs/index.md

    ---
    
    👟 🔙 ⏮️ 📟 🖼, **FastAPI** 🔜:
    
    * ✔ 👈 📤 `item_id` ➡ `GET` & `PUT` 📨.
    * ✔ 👈 `item_id` 🆎 `int` `GET` & `PUT` 📨.
        * 🚥 ⚫️ 🚫, 👩‍💻 🔜 👀 ⚠, 🆑 ❌.
    * ✅ 🚥 📤 📦 🔢 🔢 📛 `q` ( `http://127.0.0.1:8000/items/foo?q=somequery`) `GET` 📨.
        *  `q` 🔢 📣 ⏮️ `= None`, ⚫️ 📦.
        * 🍵 `None` ⚫️ 🔜 🚚 (💪 💼 ⏮️ `PUT`).
    *  `PUT` 📨 `/items/{item_id}`, ✍ 💪 🎻:
        * ✅ 👈 ⚫️ ✔️ ✔ 🔢 `name` 👈 🔜 `str`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              val editCountBefore = editCount
              yieldUntil { nanoTime >= waitUntil || editCount > editCountBefore }
            }
          }
        }
    
        override fun put(element: T) {
          taskRunner.lock.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
        override fun iterator() = error("unsupported")
    
        override fun offer(e: T) = error("unsupported")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  10. docs/pt/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Voltando ao código do exemplo anterior, **FastAPI** irá:
    
    * Validar que existe um `item_id` na rota para requisições `GET` e `PUT`.
    * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`.
        * Se não é validado, o cliente verá um útil, claro erro.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top