Shared Hosting for Everyone, imagined by developers, for developers.
Discovering the Public Cloud$ curl --basic --user APIKEY: https://api.alwaysdata.com/v1/account/
Your tokens are available in the Profile section.
To use your tokens, don’t forget the colon (:
) after the key, meaning that the password is not needed.
A rate limit is applied on API requests. See here for more details.
If you access resources linked to a user or a specific account, then you will need to specify this with your authentication while using one of the following parameters:
For example, accessing the FTP users of your mycompany in this way:
$ curl --basic --user "APIKEY account=mycompany:" https://api.alwaysdata.com/v1/ftp/
The following formats are handled:
It may be specified in the URL:
$ curl --basic --user APIKEY: https://api.alwaysdata.com/v1/account/?_format=xml
Or via the HTTP header:
$ curl --basic --user APIKEY: --header 'Accept: application/xml' https://api.alwaysdata.com/v1/account/
HTTP header | Description | Default value |
---|---|---|
alwaysdata-synchronous | Request execution in synchronous mode | no |
A limit of actions per minute (i.e. rate limit) is set:
GET