curl online | Exam-Lib
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Welcome to our Education website, plz like our page facebook to support us. Thank You and wish you good navigation

curl online

abdelouafiDec 1, 2017

    1. abdelouafi

      abdelouafi Administrator Staff Member

      Messages:
      617
      Likes Received:
      12
      Trophy Points:
      18
      Joined
      Sep 13, 2016
      Simple CURL HTTP Header Request, URL Test Tool. This page provides a raw PHP CURL HTTP Header URL analysis tool.

      Website URL
      HTTP/1.1 200 OK
      Date: Fri, 01 Dec 2017 21:18:09 GMT
      Server: Apache
      X-Powered-By: PHP/5.4.45
      Expires: Thu, 19 Nov 1981 08:52:00 GMT
      Cache-control: private, max-age=0
      X-Frame-Options: SAMEORIGIN
      Content-Encoding: gzip
      Vary: Accept-Encoding,User-Agent
      Set-Cookie: xf_session=05c65910703e2392b269b86609009964; path=/; httponly
      Last-Modified: Fri, 01 Dec 2017 21:18:09 GMT
      Content-Length: 30161
      Content-Type: text/html; charset=UTF-8


      API (Application Programming Interface)
      The API following has a rate-limit 1 call per second.
      https://uploadbeta.com/api/curl/?cached&url=https://helloacm.com

      It will return JSON-encoded data:
      "HTTP\/1.1 200 OK\r\nDate: Fri, 26 Jun 2015 09:27:17 GMT\r\nServer: Apache\/2.4.7 (Ubuntu)\r\nX-Powered-By: PHP\/5.5.9-1ubuntu4.5\r\nX-Pingback: https:\/\/helloacm.com\/xmlrpc.php\r\nContent-Encoding: gzip\r\nVary: Accept-Encoding\r\nContent-Type: text\/html; charset=UTF-8\r\n\r\n"

      Principle
      We use the following command curl to request the HTTP header. Option -I means to request the header only and -H adds header for accecpt content-encondig gzip and deflate.
      curl -I -H 'Accept-Encoding: gzip,deflate' 'http://www.exam-lib.com'
      NAME
      curl - transfer a URL

      SYNOPSIS
      curl [options] [URL...]

      DESCRIPTION
      curl is a tool to transfer data from or to a server, using one of the
      supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP,
      IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS,
      TELNET and TFTP). The command is designed to work without user interâ€
      action.

      curl offers a busload of useful tricks like proxy support, user authenâ€
      tication, FTP upload, HTTP post, SSL connections, cookies, file transâ€
      fer resume, Metalink, and more. As you will see below, the number of
      features will make your head spin!

      curl is powered by libcurl for all transfer-related features. See
      libcurl(3) for details.

      Sample URL HTTP Header Analysis

       
      Loading...

Share This Page

Share