Skip to content

Route not found when in production #368

Discussion options

You must be logged in to vote

@steve-chavez with curl I was able to retrieve the data. Any idea why I am not with express?

The request:

curl 'https://tbqtyripmdyrulzpwzvb.supabase.co/rest/v1/chats?select=*' \
-H "apikey: SUPABASE_KEY" \
-H "Authorization: Bearer SUPABASE_KEY"
The response:
[
   {
      "id": "bc5cc363-5d06-4820-8350-5f8dba146e11",
      "title": "Hello, World!",
      "from": "5efaaaa76dd03a016c68236e",
      "to": "21232f297a57a5a743894a0e4a801fc3",
      "updated_at": "2020-12-09T15:57:19.50431+00:00",
      "created_at": "2020-12-09T15:57:19.50431+00:00",
      "country": "BR"
   }
]

UPDATE: Wait I copied the URL from the Supabase page.

UPDATE 2: Checked again my URL and I was getting this error be…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@steve-chavez
Comment options

@jvbraganca
Comment options

@kiwicopple
Comment options

@jvbraganca
Comment options

@steve-chavez
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jvbraganca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants