poli
poli copied to clipboard
How to create new service API in Poli?
Hello, Is there any documentation available to guide us for creating a new service API in Poli? For example, I wanted to create a new service for download the Report as Excel file using Apache POI API. How can I achieve this? I also wanted to call the service APIs without using any authentication (hitting the service URL in different browser tab). Is it possible?
Sorry, there is no doc for adding new code. There is a how to build chapter. The backend is a pretty standard spring boot application. You can create a custom rest controller and then expose the endpoint to for example, /export/pdf. The filter checks /ws/* for auth.