TclMML

[mml retrieve url]

Documentation: Retrieve URL

[ Home | Docs | FAQ | Download | CVS | Mailing Lists | Bug Tracker | USPS's MOL Site ]

Syntax

mml retrieve url ?-flags?

Flags

-production? (Optional)

Causes the return value to be 1 if connected to the production MOL server; 0 otherwise.

-staging? (Optional)

Causes the return value to be 1 if connected to the staging MOL server; 0 otherwise.

Return Value

If either -production? or -staging? is specified then the return value is as noted above. Otherwise, the URL that the MML requests are POSTed to is returned.

An error will be returned if both -production? and -staging? are specified at the same time.