Skip to Content

setHost()

Sets the API base host URL and updates the Axios baseURL immediately.

Kind: global function

ParamTypeDescription
hoststringThe base URL of the API server (no trailing slash).

Example

ARM.setHost('https://api.example.com')
Last updated on