NASA - National Aeronautics and Space Administration

+ NASA Homepage
+ NASA en Español
+ Contact NASA
Go
Planetary Data System - Engineering Node Banner

Using Wget

Although cURL is the command-line application of choice for interacting with the Product Service, some machines may only have Wget installed or some users may prefer Wget over cURL. The functionality of each application is essentially the same. This document describes the differences between the two applications.

The following command provides an example of using cURL to retrieve a product from the Product Service:

% curl -X GET -o product.out -v \
http://localhost:8080/cas-product/data?productID=<product-identifier>
      

The same action can be achieved using Wget with the following command:

% wget -v -O product.out \
http://localhost:8080/cas-product/data?productID=<product-identifier>
      

FirstGov Logo
+ Freedom of Information Act
+ NASA 2003 Strategic Plan
+ NASA Privacy Statement, Disclaimer, and
   Accessiblity Certification

+ Copyright/Image Use Policy
NASA Logo
Curator: Emily.S.Law
Webmaster: Maryia Sauchanka-Davis
NASA Official: William Knopf
Last Updated:
+ Comments and Questions