Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 875 for BODY (0.35 sec)

  1. docs/auditlog/auditlog-echo.go

    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        val same = brotliInterceptor.decompress(response)
    
        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
      private fun response(
        url: String,
        bodyHex: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .body(bodyHex.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/schema-extra-example.md

    ## `Field`の追加引数
    
    後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます:
    
    {* ../../docs_src/schema_extra_example/tutorial002.py hl[4,10,11,12,13] *}
    
    /// warning | 注意
    
    これらの追加引数が渡されても、文書化のためのバリデーションは追加されず、注釈だけが追加されることを覚えておいてください。
    
    ///
    
    ## `Body`の追加引数
    
    追加情報を`Field`に渡すのと同じように、`Path`、`Query`、`Body`などでも同じことができます。
    
    例えば、`Body`にボディリクエストの`example`を渡すことができます:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

         *
         * @param body file authentication setting data to update
         * @return JSON response with updated setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> put$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
            return JsonPath.from(response).getList(getJsonPath());
        }
    
        protected List<String> getIdList(final Map<String, Object> body) {
            return getPropList(body, getIdKey());
        }
    
        protected List<String> getPropList(final Map<String, Object> body, final String prop) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**.
    
    ### `Body` with `examples` { #body-with-examples }
    
    Here we pass `examples` containing one example of the data expected in `Body()`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER);
            byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC });
            byte[] packet = new byte[header.length + body.length];
            System.arraycopy(header, 0, packet, 0, header.length);
            System.arraycopy(body, 0, packet, header.length, body.length);
    
            BaseConfiguration config = new BaseConfiguration(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/login/index.jsp

    <![endif]-->
    </head>
    <body class="hold-transition login-page">
    	<div class="login-box">
    		<div class="login-logo">
    			<la:link href="/">
    				<img src="${fe:url('/images/logo-top.png')}"
    					alt="<la:message key="labels.header_brand_name" />" />
    			</la:link>
    		</div>
    		<div class="notification">${notification}</div>
    		<div class="card">
    			<div class="card-body login-card-body">
    				<p class="login-box-msg">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 12:09:07 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap_details.jsp

                                    <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include>
                                </div>
                                    <%-- Card Body --%>
                                <div class="card-body">
                                        <%-- Message --%>
                                    <div>
                                        <la:info id="msg" message="true">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Feb 28 06:09:47 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  10. docs/iam/access-manager-plugin.go

    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "  ")
    	fmt.Printf("Received JSON payload:\n%s\n", out.String())
    
    	reqMap := make(map[string]interface{})
    	err = json.Unmarshal(body, &reqMap)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top