Note: This API documentation is for FAKE version 4. The migration API documentation can be found
here. The API documentation for the new fake 5 modules can be found
here
REST
Contains functions to execute typical HTTP/REST calls.
Nested types and modules
Type | Description |
PostMethod |
Option type for the HTTP verb |
Functions and values
Function or value | Description |
ExecuteGetCommand userName password url
Signature: userName:string -> password:string -> url:string -> string
|
Executes an HTTP GET command and retrives the information. It returns the response of the request, or null if we got 404 or nothing. Parameters
|
ExecutePost url userName password data
Signature: url:string -> userName:string -> password:string -> data:string -> string
|
Executes an HTTP POST command and retrives the information. It returns the response of the request, or null if we got 404 or nothing. Parameters
|
ExecutePostCommand(...)
Signature: headerF:(WebHeaderCollection -> unit) -> url:string -> userName:string -> password:string -> data:string -> string
|
Executes an HTTP POST command and retrives the information. Parameters
|