The Codolex API Server module allows you to effortlessly transform your Codolex project into a robust API. Whether you’re building mobile apps, web applications, or large-scale enterprise systems, this plugin makes it easy to expose your data and services as well-documented, secure APIs. With minimal setup, you can start building reliable, scalable API endpoints, streamlining connectivity for any application.
Publish flows as endpoints
No need for complex configuration or excessive coding. With this module, your Delphi code can be turned into API endpoints in just a few clicks. Simply mark your flow as an AP endpoint, and the plugin will automatically generate the necessary code and configuration.
Publish endpoints for data sources
Your project’s data resources, such as database entities, are exposed through intuitive API endpoints (GET, POST, PUT, PATCH, DELETE). These operations allow seamless integration with external services or applications, making data retrieval and manipulation simple and efficient.
Role-based access control
Define roles and manage access permissions per data source and per endpoint. By implementing role-based security, you can ensure that only authorized users can access certain data or endpoints.
Use existing code base
Codolex can be easily integrated into an existing code base. This allows the API module to connect directly to existing logic and business rules.
Endpoint customization
For each endpoint you can define custom paths and HTTP methods (GET, POST, PUT, DELETE). Set response headers to control caching, content-type and configure access by defining authorization levels and roles.
Custom authentication
Secure your APIs with customizable authentication logic through the OnAuthentication event. Validate user credentials and assign roles dynamically by using your own configuration or database.
SSL Support
Easily configure SSL certificates to ensure secure communication over HTTPS. This allows you to serve sensitive data securely, meeting modern security standards for APIs.
Automatic Swagger documentation
The plugin generates comprehensive Swagger documentation for your APIs, making it easy for developers to understand, explore, and test your endpoints. In the API setup you can add more detailed descriptions and metadata to your API docs.