@@ -72,7 +72,7 @@ func NewService(id string) *Service {
72
72
Timeout : "30s" ,
73
73
Name : "~~ name Here ~~" ,
74
74
Description : "~~ description Here ~~" ,
75
- ServiceURL : "http ://api.example.com " ,
75
+ ServiceURL : "https ://httpbin.org " ,
76
76
Headers : [][]string {
77
77
[]string {"Content-Type" , "application/json" },
78
78
},
@@ -108,7 +108,7 @@ func NewService(id string) *Service {
108
108
Method : "post" ,
109
109
Headers : [][]string {},
110
110
Parameters : [][]string {},
111
- URI : "/item /{$id}" ,
111
+ URI : "/anything /{$id}" ,
112
112
Body : `{"name":"{$name}","type":"{$type:default}"}` ,
113
113
},
114
114
Endpoint {
@@ -121,7 +121,7 @@ func NewService(id string) *Service {
121
121
[]string {"limit" , "{$limit:100}" },
122
122
[]string {"offset" , "{$offset:0}" },
123
123
},
124
- URI : "/item " ,
124
+ URI : "/anything " ,
125
125
Body : "" ,
126
126
},
127
127
Endpoint {
@@ -131,7 +131,7 @@ func NewService(id string) *Service {
131
131
Method : "get" ,
132
132
Headers : [][]string {},
133
133
Parameters : [][]string {},
134
- URI : "/item /{$id}" ,
134
+ URI : "/anything /{$id}" ,
135
135
Body : "" ,
136
136
},
137
137
Endpoint {
@@ -141,7 +141,7 @@ func NewService(id string) *Service {
141
141
Method : "put" ,
142
142
Headers : [][]string {},
143
143
Parameters : [][]string {},
144
- URI : "/item /{$id}" ,
144
+ URI : "/anything /{$id}" ,
145
145
Body : `{"name":"{$name}","type":"{$type:default}"}` ,
146
146
},
147
147
Endpoint {
@@ -151,7 +151,7 @@ func NewService(id string) *Service {
151
151
Method : "delete" ,
152
152
Headers : [][]string {},
153
153
Parameters : [][]string {},
154
- URI : "/item /{$id}" ,
154
+ URI : "/anything /{$id}" ,
155
155
Body : "" ,
156
156
},
157
157
},
0 commit comments