Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 331 Bytes

api.md

File metadata and controls

36 lines (25 loc) · 331 Bytes

Search API

API Server

boot

python api_server.py

API

endpoint

GET /api/search

parameters

  • q : query

sample request

curl http://54.199.246.169:8085/api/search?q=emp

response

{
  "docs":[
    {"title": "Employees"},
    {"title": "Customers"}
  ],
  "hits": 2
}