gaurav77Original post
Web Developer
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?
Summary
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.