If you need to access your instance publicly from your local computer, a coffee shop, or your office, you need to use our CLI API.
Note: This is the beta API and will probably change when we launch this publicly.
If you signed up directly at openredis.com, your credentials will simply be your email, and your password.
Sample Input:
$ curl -u email:password -X POST \
-d @- \
https://openredis.com/api/v1/plans
Sample Output:
[
{
"url": "redis://node-xxx.openredis.com:10101",
"id": "100"
}
]
The following example assume the ID 100
based on the sample output
above.
Input:
$ echo 'SET foo bar' | curl \
-u email:password \
-XPOST \
-d @- \
https://openredis.com/api/v1/plans/100/cli
Sample Output:
OK
If you have any suggestions or clarifications, please don't hesitate to send us an email at [email protected].