Use the curl
command line tool from your terminal window to access web pages, resources, and API's. This swiss-army knife of the internet also supports many more protocols and tools.
curl [options] URL
The complete, offical reference page is here.