Home Manual Reference Source Test Repository
import SouthAmpliaREST from 'opengate-js/src/util/SouthAmpliaREST.js'
public class | source

SouthAmpliaREST

Extends:

NorthAmpliaREST → SouthAmpliaREST

Constructor Summary

Public Constructor
public

constructor(_options: *, headers: *)

Inherited Summary

From class NorthAmpliaREST
public

This return a default configuration object

public

delete(url: string, timeout: number, headers: object, parameters: object, body: object, serviceBaseURL: string): Promise

Invoke DELETE action to url specified

public

get(url: string, timeout: number, headers: object, parameters: object, asBlob: boolean, serviceBaseURL: string): Promise

Invoke GET action to url specified

public

patch(url: string, data: object, timeout: number, headers: object, parameters: object, serviceBaseURL: string): Promise

Invoke PATCH action to url and data specified

public

post(url: string, data: object, timeout: number, headers: object, parameters: object, serviceBaseURL: string): Promise

Invoke POST action to url and data specified

public

post_multipart(url: string, formData: FormData, events: object, timeout: number, headers: object, parameters: object, serviceBaseURL: string): Promise

Invoke POST multipart action to url and data specified

public

put(url: string, data: object, timeout: number, headers: object, parameters: object, serviceBaseURL: string): Promise

Invoke PUT action to url and data specified

public

put_multipart(url: string, formData: FormData, events: object, timeout: number, headers: object, parameters: object, serviceBaseURL: string): Promise

Invoke put multipart action to url and data specified

Public Constructors

public constructor(_options: *, headers: *) source

This is a constructor of a Rest api javascript

Override:

NorthAmpliaREST#constructor

Params:

NameTypeAttributeDescription
_options *
headers *