Add rest-api example (#889)
This commit is contained in:
18
examples/rest-api/bruno/ec-rest-api/default_add.bru
Normal file
18
examples/rest-api/bruno/ec-rest-api/default_add.bru
Normal file
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: default_add
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:8000/add
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"source": "source_url",
|
||||
"data_type": "data_type"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user