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
Copy file name to clipboardExpand all lines: docs/guides/frameworks/supabase-edge-functions-database-webhooks.mdx
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -169,11 +169,11 @@ Follow the CLI instructions and once complete you should see your new edge funct
169
169
170
170
Next, in your Supabase dashboard, click on 'Table Editor' in the left-hand menu and create a new table. In this example we will call our table `skynet`.
171
171
172
-
[How to create a new table](/images/supabase-new-table-1.png)
172
+

173
173
174
174
Add a new column called `name` with the type `text`.
175
175
176
-
[How to add a new column](/images/supabase-new-table-2.png)
176
+

177
177
178
178
</Step>
179
179
@@ -183,11 +183,11 @@ By default, Supabase edge functions require a JSON Web Token (JWT) in the author
183
183
184
184
In your Supabase dashboard, click 'Project settings', then the 'API' tab, and copy the `anon``public` API key from the table.
185
185
186
-
[How to find your Supabase API keys](/images/supabase-api-key.png)
186
+

187
187
188
188
Then, go to 'Database' click on 'Webhooks', and then click 'Create a new hook'.
189
189
190
-
[How to create a new webhook](/images/supabase-create-webhook-1.png)
190
+

191
191
192
192
Call the hook `edge-function-hook`:
193
193
@@ -198,8 +198,8 @@ Call the hook `edge-function-hook`:
198
198
5. Under 'Headers', add a new header with the key `Authorization` and the value `Bearer <your-api-key>` (replace `<your-api-key>` with the `anon``public` API key you copied earlier).
199
199
6. Click 'Create webhook'.
200
200
201
-
[How to create a new webhook 2](/images/supabase-create-webhook-2.png)
202
-
[How to create a new webhook 3](/images/supabase-create-webhook-3.png)
201
+

202
+

0 commit comments