Constructors
constructor
- new HttpAction(__namedParameters: object): HttpAction
Parameters
-
__namedParameters: object
-
base: string
-
-
name: string
-
path: string
Properties
__variant__
__variant__: string = "HttpAction"
Methods
Static fromJSON
Parameters
-
json: object
-
base: string
-
-
Optional name?: string
-
path: string
An Action to send an HTTP request
example
new HttpAction({ name:"test", method:"GET", base:"https://jsonplaceholder.typicode.com/", path:"todos" })