Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,775 for gson (0.01 sec)

  1. README.md

    ----------------
    
    This program posts data to a service. [Full source][post_example].
    
    ```java
    public static final MediaType JSON = MediaType.get("application/json");
    
    OkHttpClient client = new OkHttpClient();
    
    String post(String url, String json) throws IOException {
      RequestBody body = RequestBody.create(json, JSON);
      Request request = new Request.Builder()
          .url(url)
          .post(body)
          .build();
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. internal/crypto/sse-kms.go

    	if context, ok := h[xhttp.AmzServerSideEncryptionKmsContext]; ok {
    		b, err := base64.StdEncoding.DecodeString(context[0])
    		if err != nil {
    			return "", nil, err
    		}
    
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    		if err := json.Unmarshal(b, &ctx); err != nil {
    			return "", nil, err
    		}
    	}
    
    	keyID := h.Get(xhttp.AmzServerSideEncryptionKmsID)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. docs/iam/policies/deny-objects-with-invalid-sse-kms-key-id.json

    Shubhendu <******@****.***> 1715701387 +0530
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 14 15:43:07 UTC 2024
    - 439 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_cookies/test_tutorial001.py

    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.post("/cookie/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Come to the dark side, we have cookies"}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 408 bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/request-forms-and-files.md

    /// warning | Advertencia
    
    Puedes declarar múltiples parámetros `File` y `Form` en una *path operation*, pero no puedes también declarar campos `Body` que esperas recibir como JSON, ya que el request tendrá el body codificado usando `multipart/form-data` en lugar de `application/json`.
    
    Esto no es una limitación de **FastAPI**, es parte del protocolo HTTP.
    
    ///
    
    ## Resumen { #recap }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/request-forms-and-files.md

    /// warning | Atenção
    
    Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho*, mas não é possível declarar campos `Body` para receber como JSON, pois a requisição terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.
    
    Isso não é uma limitação do **FastAPI**, é parte do protocolo HTTP.
    
    ///
    
    ## Recapitulando { #recap }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. ci/official/pycpp.sh

    if [[ `uname -s | grep -P '^MSYS_NT'` ]]; then
      PROFILE_JSON_PATH=$(replace_drive_letter_with_prefix "$TFCI_OUTPUT_WIN_DOCKER_DIR")
      PROFILE_JSON_PATH="$PROFILE_JSON_PATH/profile.json.gz"
    else
      PROFILE_JSON_PATH="$TFCI_OUTPUT_DIR/profile.json.gz"
    fi
    
    # TODO(b/361369076) Remove the following block after TF NumPy 1 is dropped
    # Move hermetic requirement lock files for NumPy 1 to the root
    if [[ "$TFCI_WHL_NUMPY_VERSION" == 1 ]]; then
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Dec 03 05:57:39 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. docs/ru/docs/how-to/custom-request-and-route.md

    Если вы только начинаете работать с **FastAPI**, возможно, стоит пропустить этот раздел.
    
    ///
    
    ## Сценарии использования { #use-cases }
    
    Некоторые сценарии:
    
    * Преобразование тел запросов, не в формате JSON, в JSON (например, <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * Распаковка тел запросов, сжатых с помощью gzip.
    * Автоматическое логирование всех тел запросов.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_cookies/test_tutorial002.py

    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.post("/cookie-and-object/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Come to the dark side, we have cookies"}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 419 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_wsgi/test_tutorial001.py

        assert response.text == "Hello, World from Flask!"
    
    
    def test_app():
        response = client.get("/v2")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 441 bytes
    - Viewed (1)
Back to top