Consent to the use of Personal Data and Cookies

This website needs your consent to use cookies in order to customize ads and content.

If you give us your consent, data may be shared with Google.

cURL GET Request

Performing HTTP GET requests using cURL from the command line.

11 views

Edited: 2022-09-29 11:36

curl -X GET http://beamtic.com/Examples/ip.php

Result:

127.0.0.1

Details

A HTTP GET request is sent whenever a client, such as a web browser, is attempting to load a resource on the internet.

A resource can basically be anything that can be loaded. E.g:

  • A HTML web page. Note: web pages do not necessarily end in .html.
  • Web- scripts, styles, and fonts. E.g. .css, .js, .woff. Etc.
  • Images. E.g. .png, .webp, .avif. Etc.
  • Video files. E.g. .mp4 .mov, .mkv. Etc.
  • Document files. E.g. .pdf, .doc, .txt. Etc.

Tell us what you think: