HTTP/Form - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Home : Support : Online Help : HTTP/Form

HTTP

  

Form

  

Send form data to a URL

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

Form(URI, formdata)

Parameters

URI

-

host, port, and URL path of the form http://host:port/path/to/file; the uniform resource identifier

formdata

-

content of the form given as a list of string=string values.

Options

• 

headers=list

list of header values; duplicate values will be combined into a single comma-separated list.

• 

method= a string

either "GET" or "POST". Specify whether to submit form data as a get or post request. The default is POST.

• 

timeout=posint

the number of seconds to wait for data before timing out.

• 

forcemode=name

either text or binary. This forces the transfer to be done in the given mode regardless of the Content-Type reported by the server.

Description

• 

Form is a higher level command that accepts the form data as a list of equations, and then properly formats it as an HTTP request.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(11)

(12)

Compatibility

• 

The HTTP[Form] command was introduced in Maple 15.

• 

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

See Also

HTTP

HTTP[Code]

HTTP[Post]

 


Download Help Document