System Information
-
Strapi Version: 4.9.1
-
Operating System: Darwin
-
Database: postgres
-
Node Version: v16.19.1
-
NPM Version: 9.6.4
-
Yarn Version: 3.4.1
Hi,
I am having the following problem and i please need support.
When i overwrite the method “create” inside the controller, the frontend ignores that it has to enter through it. I am not finding the reason behind this, why its not entering.
I appreciate your support,
thanks in advance
BR
Federico.
the admin peace uses the admin api not the content api
Sorry, I do not understand. How would it be? Could you explain more?
so /admin uses the admin api while what you are chancing is the content-api
Is it possible to extend the content api?
I don’t know how you want to extend it.
It’s enough for me to show a console log. Then I need to issue a message to kafka.
one of the ways to extend the behavior is through something called Lifecycle hooks. I’ll leave the documentation down here. It directly modifies the strapi.entityService so it will serve both the admin and the content-api