Add rest-api example (#889)
This commit is contained in:
17
examples/rest-api/bruno/ec-rest-api/default_query.bru
Normal file
17
examples/rest-api/bruno/ec-rest-api/default_query.bru
Normal file
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: default_query
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:8000/query
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"query": "Who is Elon Musk?"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user