(method, resource string, body string)
| 662 | } |
| 663 | |
| 664 | func (rt *RestTester) SendRequest(method, resource string, body string) *TestResponse { |
| 665 | return rt.Send(Request(method, rt.mustTemplateResource(resource), body)) |
| 666 | } |
| 667 | |
| 668 | func (rt *RestTester) SendRequestWithHeaders(method, resource string, body string, headers map[string]string) *TestResponse { |
| 669 | req := Request(method, rt.mustTemplateResource(resource), body) |