API

Fetch API cannot load http://api/v1/products/all due to access control checks. [blocked] The page at https://test.pages.dev/ was not allowed to display insecure content from http://api/v1/products/all.
6 Replies
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
uzuark
uzuark16mo ago
Yeah but is there a way to fix it? I‘m Just doing a GET request to Load all products
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
uzuark
uzuark16mo ago
Changed my api to https. [Error] Origin https://bff.pages.dev is not allowed by Access-Control-Allow-Origin. Status code: 200 [Error] Fetch API cannot load https://api.de:6580/v1/products/all due to access control checks. [Error] Failed to load resource: Origin https://b.pages.dev is not allowed by Access-Control-Allow-Origin. Status code: 200 (all, line 0)
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
uzuark
uzuark16mo ago
ok thx