Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create new service API in Poli? #88

Open
portalguru opened this issue May 8, 2021 · 1 comment
Open

How to create new service API in Poli? #88

portalguru opened this issue May 8, 2021 · 1 comment

Comments

@portalguru
Copy link

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?

@shzlw
Copy link
Owner

shzlw commented May 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants