Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 397 for Curl (0.06 sec)

  1. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Act & Assert ##
            assertEquals(Method.GET, Curl.get("http://test.com").method());
            assertEquals(Method.POST, Curl.post("http://test.com").method());
            assertEquals(Method.PUT, Curl.put("http://test.com").method());
            assertEquals(Method.DELETE, Curl.delete("http://test.com").method());
            assertEquals(Method.HEAD, Curl.head("http://test.com").method());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. .teamcity/scripts/configure_build_env_on_ec2.sh

    # - we set GRADLE_RO_DEP_CACHE to '/opt/gradle-cache' if the folder exists.
    
    curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
    IS_EC2_INSTANCE=$?
    if [ $IS_EC2_INSTANCE -ne 0 ]; then
      echo "Not running on an EC2 instance, skipping the configuration"
      exit 0
    fi
    
    # TAG
    EC2_INSTANCE_TYPE=$(curl -s "http://169.254.169.254/latest/meta-data/instance-type")
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Aug 27 08:28:30 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

    import org.codelibs.curl.Curl.Method;
    import org.junit.Test;
    
    /**
     * Test class for CurlRequest.
     * Tests the fluent API, parameter handling, and request configuration.
     */
    public class CurlRequestTest {
    
        @Test
        public void testConstructor() {
            String url = "https://example.com";
            CurlRequest request = new CurlRequest(Method.GET, url);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         * @return a configured CURL request
         */
        protected CurlRequest createCurlRequest(final String url) {
            final CurlRequest request = Curl.get(url);
            final Proxy proxy = ComponentUtil.getFessConfig().getHttpProxy();
            if (proxy != null && !Proxy.NO_PROXY.equals(proxy)) {
                request.proxy(proxy);
            }
            return request;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import static org.junit.Assert.fail;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.codelibs.curl.Curl;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
        private File tempFile;
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. docs/lambda/README.md

    ```go
    package main
    
    import (
    	"context"
    	"log"
    	"net/url"
    	"time"
    	"fmt"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

         * @param roleList The list to add role names to.
         * @param url The Microsoft Graph API URL.
         */
        protected void processMemberOf(final AzureAdUser user, final List<String> groupList, final List<String> roleList, final String url) {
            if (logger.isDebugEnabled()) {
                logger.debug("url: {}", url);
            }
            try (CurlResponse response = Curl.get(url)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  8. docs/sts/tls.md

    a client certificate.
    
    The following curl example shows how to authenticate to a MinIO server with client certificate and obtain STS access credentials.
    
    ```curl
    curl -X POST --key private.key --cert public.crt "https://minio:9000?Action=AssumeRoleWithCertificate&Version=2011-06-15&DurationSeconds=3600"
    ```
    
    ```xml
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/curl/CurlResponseTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. docs/sts/wso2.md

    Request
    
    ```
    curl -u <CLIENT_ID>:<CLIENT_SECRET> -k -d "grant_type=client_credentials" -H "Content-Type:application/x-www-form-urlencoded" https://<IS_HOST>:<IS_HTTPS_PORT>/oauth2/token
    ```
    
    Example:
    
    ```
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top