You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This SDK is compatible with Appwrite server version 0.7.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-node/releases).**
8
+
**This SDK is compatible with Appwrite server version 0.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-node/releases).**
9
9
10
10
> This is the Node.js SDK for integrating with Appwrite from your Node.js server-side code.
11
11
If you're looking to integrate from the browser, you should check [appwrite/sdk-for-web](https://github.com/appwrite/sdk-for-web)
@@ -39,6 +39,7 @@ client
39
39
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
40
40
.setProject('5df5acd0d48c2') // Your project ID
41
41
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
42
+
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
42
43
;
43
44
```
44
45
@@ -67,6 +68,7 @@ client
67
68
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
68
69
.setProject('5df5acd0d48c2') // Your project ID
69
70
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
71
+
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
The Appwrite Node SDK raises `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example.
0 commit comments