Although cURL is the command-line application of choice for interacting with the Transport Service software, 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 Transport Service application:
% curl -X GET -o results.out -v \ http://localhost:8080/transport-ofsn/prod?q=OFSN+EQ+data/+AND+RT+EQ+DIRLIST1
The same action can be achieved using Wget with the following command:
% wget -v -O results.out \ http://localhost:8080/transport-ofsn/prod?q=OFSN+EQ+data/+AND+RT+EQ+DIRLIST1