A package for fetching data via HTTP - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Packages : HTTP

HTTP - A package for fetching data via HTTP

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)

result:=Gethttp://www.maplesoft.com/:

Coderesult1

OK

(2)

See Also

URL

References

  

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


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam