mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-02 10:59:22 +01:00
chore: cleanup
This commit is contained in:
parent
21c9c8b4fb
commit
6b43159be2
@ -1,39 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "http-request",
|
|
||||||
"name": "Send Bulk SMS",
|
|
||||||
"request": {
|
|
||||||
"method": "GET",
|
|
||||||
"url": "https://api.textlocal.in/bulk_json?apiKey=secret=&numbers=998877665&message=hello&sender=600010",
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"name": "apiKey",
|
|
||||||
"value": "secret",
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "numbers",
|
|
||||||
"value": "998877665",
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "message",
|
|
||||||
"value": "hello",
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sender",
|
|
||||||
"value": "600010",
|
|
||||||
"enabled": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"headers": [],
|
|
||||||
"body": {
|
|
||||||
"mode": "json",
|
|
||||||
"json": "{\n apikey: \"secret\",\n numbers: \"+919988776655\",\n data: {\n sender: \"TXTLCL\",\n messages: [{\n numbers: \"+919988776655\",\n message: \"Hello World\"\n }]\n }\n}",
|
|
||||||
"text": null,
|
|
||||||
"xml": null,
|
|
||||||
"multipartForm": null,
|
|
||||||
"formUrlEncoded": null
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,102 +0,0 @@
|
|||||||
ver 1.0
|
|
||||||
type http-request
|
|
||||||
name Send Bulk SMS
|
|
||||||
method GET
|
|
||||||
url https://api.textlocal.in/bulk_json?apiKey=secret=&numbers=919988776655&message=hello&sender=600010
|
|
||||||
|
|
||||||
params
|
|
||||||
1 apiKey secret
|
|
||||||
1 numbers 998877665
|
|
||||||
1 message hello
|
|
||||||
/params
|
|
||||||
|
|
||||||
headers
|
|
||||||
1 content-type application/json
|
|
||||||
1 accept-language en-US,en;q=0.9,hi;q=0.8
|
|
||||||
0 transaction-id {{transactionId}}
|
|
||||||
/headers
|
|
||||||
|
|
||||||
body-mode json
|
|
||||||
|
|
||||||
body(type=json)
|
|
||||||
{
|
|
||||||
apikey: "secret",
|
|
||||||
numbers: "+91998877665",
|
|
||||||
data: {
|
|
||||||
sender: "TXTLCL",
|
|
||||||
messages: [{
|
|
||||||
numbers: "+91998877665",
|
|
||||||
message: "Hello World"
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/body
|
|
||||||
|
|
||||||
body(type=graphql)
|
|
||||||
{
|
|
||||||
launchesPast {
|
|
||||||
launch_site {
|
|
||||||
site_name
|
|
||||||
}
|
|
||||||
launch_success
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/body
|
|
||||||
|
|
||||||
script
|
|
||||||
let user = 'John Doe';
|
|
||||||
|
|
||||||
function onRequest(request) {
|
|
||||||
request.body.user = user;
|
|
||||||
}
|
|
||||||
|
|
||||||
function onResponse(request, response) {
|
|
||||||
expect(response.status).to.equal(200);
|
|
||||||
}
|
|
||||||
/script
|
|
||||||
|
|
||||||
assert
|
|
||||||
{
|
|
||||||
"$res.data.order.items.length": 1,
|
|
||||||
"$res.data.orderNumber.isDefined": true
|
|
||||||
}
|
|
||||||
/assert
|
|
||||||
|
|
||||||
vars
|
|
||||||
1 petId $res.data.id
|
|
||||||
/vars
|
|
||||||
|
|
||||||
readme
|
|
||||||
Documentation about the request
|
|
||||||
/readme
|
|
||||||
|
|
||||||
response-example
|
|
||||||
name Created
|
|
||||||
status 201
|
|
||||||
headers
|
|
||||||
1 content-type application/json
|
|
||||||
1 accept-language en-US,en;q=0.9,hi;q=0.8
|
|
||||||
0 transaction-id {{transactionId}}
|
|
||||||
/headers
|
|
||||||
|
|
||||||
body
|
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"launchesPast": [
|
|
||||||
{
|
|
||||||
"launch_site": {
|
|
||||||
"site_name": "CCAFS SLC 40"
|
|
||||||
},
|
|
||||||
"launch_success": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"launch_site": {
|
|
||||||
"site_name": "VAFB SLC 4E"
|
|
||||||
},
|
|
||||||
"launch_success": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/body
|
|
||||||
/response-example
|
|
@ -1,101 +0,0 @@
|
|||||||
ver 1.0
|
|
||||||
type http-request
|
|
||||||
name Send Bulk SMS
|
|
||||||
method GET
|
|
||||||
url https://api.textlocal.in/bulk_json?apiKey=secret=&numbers=919988776655&message=hello&sender=600010
|
|
||||||
body-mode json
|
|
||||||
|
|
||||||
params
|
|
||||||
1 apiKey secret
|
|
||||||
1 numbers 998877665
|
|
||||||
1 message hello
|
|
||||||
/params
|
|
||||||
|
|
||||||
headers
|
|
||||||
1 content-type application/json
|
|
||||||
1 accept-language en-US,en;q=0.9,hi;q=0.8
|
|
||||||
0 transaction-id {{transactionId}}
|
|
||||||
/headers
|
|
||||||
|
|
||||||
body(type=json)
|
|
||||||
{
|
|
||||||
apikey: "secret",
|
|
||||||
numbers: "+91998877665",
|
|
||||||
data: {
|
|
||||||
sender: "TXTLCL",
|
|
||||||
messages: [{
|
|
||||||
numbers: "+91998877665",
|
|
||||||
message: "Hello World"
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/body
|
|
||||||
|
|
||||||
body(type=graphql)
|
|
||||||
{
|
|
||||||
launchesPast {
|
|
||||||
launch_site {
|
|
||||||
site_name
|
|
||||||
}
|
|
||||||
launch_success
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/body
|
|
||||||
|
|
||||||
script
|
|
||||||
let user = 'John Doe';
|
|
||||||
|
|
||||||
function onRequest(request) {
|
|
||||||
request.body.user = user;
|
|
||||||
}
|
|
||||||
|
|
||||||
function onResponse(request, response) {
|
|
||||||
expect(response.status).to.equal(200);
|
|
||||||
}
|
|
||||||
/script
|
|
||||||
|
|
||||||
assert
|
|
||||||
{
|
|
||||||
"$res.data.order.items.length": 1,
|
|
||||||
"$res.data.orderNumber.isDefined": true
|
|
||||||
}
|
|
||||||
/assert
|
|
||||||
|
|
||||||
vars
|
|
||||||
1 petId $res.data.id
|
|
||||||
/vars
|
|
||||||
|
|
||||||
readme
|
|
||||||
Documentation about the request
|
|
||||||
/readme
|
|
||||||
|
|
||||||
response-example
|
|
||||||
name Created
|
|
||||||
status 201
|
|
||||||
headers
|
|
||||||
1 content-type application/json
|
|
||||||
1 accept-language en-US,en;q=0.9,hi;q=0.8
|
|
||||||
0 transaction-id {{transactionId}}
|
|
||||||
/headers
|
|
||||||
|
|
||||||
body
|
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"launchesPast": [
|
|
||||||
{
|
|
||||||
"launch_site": {
|
|
||||||
"site_name": "CCAFS SLC 40"
|
|
||||||
},
|
|
||||||
"launch_success": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"launch_site": {
|
|
||||||
"site_name": "VAFB SLC 4E"
|
|
||||||
},
|
|
||||||
"launch_success": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/body
|
|
||||||
/response-example
|
|
Loading…
Reference in New Issue
Block a user