Skip to content
View in the app

A better way to browse. Learn more.

Loyverse Town

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem With CORS

Featured Replies

Hello, I'm trying to make a request to the API through javascript/ajax and I'm getting this error:

Access to XMLHttpRequest at 'https://api.loyverse.com/v1.0/items' from origin 'http://nesdevel.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

What would I be missing?

Thanks!

 Hello!

This is impossible for security reasons. You can use some kind of middleware software for this, for example, nginx as a proxypass server.

  • 4 months later...

Hey, I hope I'm not bothering, but what security reasons? I'm learning cors and I assumed that a password protected api wouldn't need it

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.