Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 2,028 for post (0.04 seconds)

  1. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            mockRequest.addHeader(testHeader, testHeaderValue);
            mockRequest.setMethod("POST");
            mockRequest.setRequestURI("/test/uri");
    
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // Verify that other methods are properly delegated
            assertEquals("POST", webApiRequest.getMethod());
            assertEquals("/test/uri", webApiRequest.getRequestURI());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  2. tests/test_security_oauth2.py

        username: str
    
    
    # Here we use string annotations to test them
    def get_current_user(oauth_header: "str" = Security(reusable_oauth2)):
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    # Here we use string annotations to test them
    def login(form_data: "OAuth2PasswordRequestFormStrict" = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    # Here we use string annotations to test them
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_optional_description.py

        username: str
    
    
    def get_current_user(oauth_header: str | None = Security(reusable_oauth2)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    def read_users_me(current_user: User | None = Depends(get_current_user)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

                    MEDIA_TYPE_PNG))
            .build();
    
        Request request = new Request.Builder()
            .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
            .url("https://api.imgur.com/3/image")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/webconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        String getWebConfigId() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

         *
         * @param body the document data to create
         * @return JSON response containing the created document ID
         */
        // POST /api/admin/searchlist/doc
        @Execute
        public JsonResponse<ApiResult> post$doc(final CreateBody body) {
            validateApi(body, messages -> {});
            if (body.doc == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            Map<String, Object> labelBody = new HashMap<>();
            labelBody.put("name", name);
            labelBody.put("value", value);
            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.body.close()
        val expectedAddress =
          InetSocketAddress.createUnresolved(
            SocksProxy.HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS,
            server.port,
          )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/first-steps.md

    ///
    
    Під час створення API «шлях» є основним способом розділити «завдання» і «ресурси».
    
    #### Операція { #operation }
    
    «Операція» тут означає один з HTTP «методів».
    
    Один з:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...та більш екзотичних:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/login/newpassword.jsp

    				<%-- Message --%>
    				<div>
    					<la:info id="msg" message="false">
    						<div class="alert alert-info">${msg}</div>
    					</la:info>
    					<la:errors />
    				</div>
    				<la:form styleId="newPassword" method="post">
    					<div class="input-group mb-3">
    						<c:set var="ph_new_password">
    							<la:message key="labels.login.placeholder_new_password" />
    						</c:set>
    						<la:password property="password" class="form-control"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top