Patch begins a PATCH request. Short for c.Verb("Patch").
(pt types.PatchType)
| 239 | |
| 240 | // Patch begins a PATCH request. Short for c.Verb("Patch"). |
| 241 | func (c *RESTClient) Patch(pt types.PatchType) *Request { |
| 242 | return c.Verb("PATCH").SetHeader("Content-Type", string(pt)) |
| 243 | } |
| 244 | |
| 245 | // Get begins a GET request. Short for c.Verb("GET"). |
| 246 | func (c *RESTClient) Get() *Request { |