HtmlForm property

This property is used if you use the FetchData function with the "POST" request. In this case the string contained in this property will be sent to server as the body of POST request.

Notes

Although the HtmlForm property allows both reading and writing, it's recommended to use the AddHtmlFormInput method to modify it.

Example

' Clear HtmlForm
http.HtmlForm=""
' Add data
http.AddHtmlFormInput "firstname","John"
http.AddHtmlFormInput "phone","1234567"
' Send request (the string firstname=John&phone=1234567 will be sent in the request)
http.FetchData url,"POST"