Advertising banner:

History
 
 HTTP.Put
Home • Help • A0 • Customization Tools • FCAS • Language Reference • HTTP.Put
 
Put (HTTP)
Purpose
Sends an HTTP PUT request to the remote server.
Syntax
HTTP.Put ("URL")


URL
The address to which to send the request.

Example
Dim WebService as HTTP

WebService.SendBody = "Hello World"
WebService.Timeout = 5
WebService.SendContentType = "application/octet-stream"
WebService.UseChunking = FALSE
WebService.Put("127.0.0.1")
Debug "Return code from HTTP server is " & WebService.Error
Debug "Reply is:" & fcCR & WebService.ReplyBody
Debug "X-SPECIAL header is " & WebService.ReplyHeader("X-SPECIAL")