i get a 404 for every api request i try, but in graphql with same token i can read out fine.
could api be disabled somewhere? i
This topic has been created from a Discord post (1296423455843029023) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
what is the api url you are using?
strapi5 | [2024-10-17 10:28:54.385] http: GET /api/blogs/ (7 ms) 404
strapi5 | [2024-10-17 10:29:20.113] http: GET /api/posts/ (5 ms) 404
strapi5 | [2024-10-17 10:32:15.334] http: GET /api/posts?populate=* (4 ms) 404
strapi5 | [2024-10-17 10:33:03.779] http: GET /api/blog-posts?populate=* (5 ms) 404
strapi5 | [2024-10-17 10:33:42.462] http: GET /api/blog-posts?populate=* (3 ms) 404
strapi5 | [2024-10-17 10:38:32.947] http: GET /api/blog-posts (5 ms) 404
strapi5 | [2024-10-17 10:39:27.199] http: GET /api/blogposts?populate=* (5 ms) 404
strapi5 | [2024-10-17 10:40:15.108] http: GET /api/theme (3 ms) 404
strapi5 | [2024-10-17 10:41:51.578] http: GET /api/posts (4 ms) 404
strapi5 | [2024-10-17 10:42:14.760] http: GET /api/ (3 ms) 404
strapi5 | [2024-10-17 10:52:39.867] http: GET /api/posts/dupa3kuu0uycija5di21zbhs (3 ms) 404
strapi5 | [2024-10-17 10:54:15.596] http: GET /api/posts (4 ms) 404
strapi5 | [2024-10-17 10:57:10.068] http: GET /api/blog-posts (5 ms) 404
strapi5 | [2024-10-17 10:57:49.916] http: GET /api/blog-posts (5 ms) 404
strapi5 | [2024-10-17 10:59:23.454] http: GET /api/blog-posts (4 ms) 404
strapi5 | [2024-10-17 11:00:10.232] http: GET /posts (3 ms) 404
strapi5 | [2024-10-17 11:15:39.394] http: GET /api/posts (3 ms) 404
strapi5 | [2024-10-17 11:16:20.261] http: GET /api/post/ (4 ms) 404
strapi5 | [2024-10-17 12:02:31.581] http: GET /api/post/dupa3kuu0uycija5di21zbhs (4 ms) 404
strapi5 | [2024-10-17 12:04:50.274] http: GET /api/post/dupa3kuu0uycija5di21zbhs (6 ms) 404
strapi5 | [2024-10-17 12:17:38.823] http: GET /api/post/dupa3kuu0uycija5di21zbhs (5 ms) 404
strapi5 | [2024-10-17 12:29:50.486] http: GET /api/posts (4 ms) 404
strapi5 | [2024-10-17 12:30:31.028] http: GET /api/posts (3 ms) 404
i tried alot
What’s the name of your content type ? Post ?
Look at the smug you need to use. Might be blog-post or blog-posts
strapi5 | [2024-10-17 16:35:47.057] http: GET /api/blog-post (55 ms) 404
strapi5 | [2024-10-17 16:35:58.817] http: GET /api/blog-posts (4 ms) 404
Settings - user role permissions - role - public
no problem really appreciate the help
Wait maybe it changed with strapi 5… 
/api/content-type-builder/components