This is the first time I use React in combination with Pimcore (version 4, as i am updating an older site). As I understood, correct me if I am wrong, I need to create custom REST endpoints which can be fetched from React. This seems straight forward, although I run into some troubles:
- I am correct to extend from
- Were do i register the custom endpoint to the class? Maybe in
Any advice, help is welcome.
Related but different version: How to add rest api end point