Cms Client
Type: Class
How to get CmsClient?
JavaScript
import CmsClient from 'fontoxml-connector/src/CmsClient.js'
Base class, used by connectors to send requests to the CMS.
In most situations, you probably want to use the StandardCmsClient instance.
Constructor arguments
configuration
(Required)
Type: Object
Methods
send Request
Type: Function
Send a request using the specified HTTP method to the named endpoint on the scope-provided CMS base URL, passing the data represented by the given RequestData instance
Arguments
Returns
send Request To Url
Type: Function
Send a request using the specified HTTP method to the given url, passing the data represented by the given RequestData instance.
For requests to endpoints on the standard CMS backend, use the sendRequest method instead.
Arguments
Returns