Skip to content

Custom HTTP handlers with prepared queries #5436

@alexey-milovidov

Description

@alexey-milovidov

Allow to configure handlers (identified by path in URL) for prepared queries.

Both SELECT and INSERT queries should be supported.
SELECT query can be parametrized (see #5331).

Example:

Instead of http://localhost:8123/?query=INSERT%20INTO%20table%20...
the user might want to send data to http://localhost:8123/my_custom_handler/

This will allow more easy integration with third-party tools.

Metadata

Metadata

Assignees

Labels

comp-protocolsServer wire protocols + request/response handling (native TCP, HTTP, MySQL/PostgreSQL wire protoc...feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions