Skip to content

Service: Search POST

Eliza Margaretha edited this page Oct 1, 2021 · 6 revisions

** WARNING: This service is unstable and in testing.**

Returns query result for the given JSON query.

Available in: lite and full version

Method: POST

Service URL: root/search

Parameters

Header Parameter (Optional)

see Search GET header parameter

Request body

KoralQuery (see documentation and Query Serialization example)

Examples

Request example with cURL

 curl -d '{"query":{"wrap":{"@type":"koral:term","layer":"orth", "match":"match:eq","key":"Wasser"},"@type":"koral:token"}}' http://localhost:8089/api/search 

Request example using an external file

 curl -d @koralQueryFile 'http://localhost:8089/api/search'

Output example

See Search GET example

Clone this wiki locally