Use this to set the method of the request For example: request.SetMethod("GET")
(method string)
| 113 | // For example: |
| 114 | // request.SetMethod("GET") |
| 115 | func (r *Request) SetMethod(method string) *Request { |
| 116 | r.method = method |
| 117 | return r |
| 118 | } |
| 119 | |
| 120 | // Use this method to skip TLS verification |
| 121 | // This can be useful if the api you are calling has outdated TLS certificates |
no outgoing calls