/
requestbin.json
57 lines (56 loc) · 1.87 KB
/
requestbin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"endpoints":[
{
"name":"Requestb.in",
"methods":[
{
"MethodName":"Method with custom headers",
"HTTPMethod":"GET",
"URI":":request_bin",
"RequiresOAuth":"N",
"parameters":[
{
"Name":"request_bin",
"Required":"Y",
"Default":"",
"Location":"query",
"Type":"string",
"Description":"The request bin id to use. Go to http://requestb.in to get one for free."
},
{
"Name":"Cache-Control",
"Required":"Y",
"Default":"no-cache",
"Location":"header",
"Type":"string",
"Description":""
},
{
"Name":"Max-Forwards",
"Required":"Y",
"Default":"10",
"Location":"header",
"Type":"string",
"Description":""
},
{
"Name":"param1",
"Required":"Y",
"Default":"this is ithe first param",
"Location":"query",
"Type":"string",
"Description":"First param, with explicitly set location property."
},
{
"Name":"param2",
"Required":"Y",
"Default":"this is the second param",
"Type":"string",
"Description":"Second param, with no location property set. Should default to 'query'."
}
]
}
]
}
]
}