HTTP - Maple Help

Online Help

All Products    Maple    MapleSim


HTTP

A package for fetching data via HTTP

 

Calling Sequence

Description

Accessing HTTP Package Commands

List of HTTP Package Commands

Examples

References

Compatibility

Calling Sequence

HTTP[command](arguments)

command(arguments)

Description

• 

The HTTP package is a collection of commands for HTTP clients. It only partially implements the HTTP standard.  For example, it currently does not support persistent connections.

• 

The HTTP package is implemented on top of the URL package. The URL package is a generalization of the HTTP package.

Accessing HTTP Package Commands

• 

Each command in the HTTP package can be accessed by using either the long form or the short form of the command name in the command calling sequence.

• 

Because the underlying implementation of the HTTP package is a module, it is possible to use the form HTTP:-command to access a command from the package. For more information, see Module Members.

List of HTTP Package Commands

• 

The following is a list of commands available in the HTTP package.

Code

Form

Get

Post

URLDecode

URLEncode

URLParse

 

• 

To display the help page for a particular HTTP command, see Getting Help with a Command in a Package.

Examples

withHTTP:

Use the URLEncode command to replace non-alphanumeric symbols in a string.

URLEncodeHello world!

Hello+world%21

(1)

resultGethttp://www.maplesoft.com/:

Coderesult1

OK

(2)

References

  

RFC 2616, Hypertext Transfer Protocol -- HTTP/1.1, http://tools.ietf.org/html/rfc2616

Compatibility

• 

The HTTP package was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

URL