Back

AppExpress's API's use in browser

  • 1
  • Functions
  • Web
  • Cloud
gaurav77
21 Jun, 2024, 16:37

I set up api using AppExpress in nodeJS in appwrite function, I am able hit the api and get data using postman, but when hitting the same API using fetch API in browser I am getting this error: GET https://66700e5aef9b29ddc13f.appwrite.global/ net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH.

Could this be related to CORS error since I am hitting API from a different URL that on which the function is hosted and is somethig else wrong here?

TL;DR
Developers are having trouble using AppExpress's API in a browser. They can successfully use Postman to access the data, but encounter an error when trying to fetch the API using the browser's fetch API. The error message suggests a potential SSL version or cipher mismatch. This could be related to a CORS error, as they are accessing the API from a different URL. Double-check the SSL configuration and ensure that CORS is properly set up in the API.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more