Name
easy:SetOpt_HTTPGet -- ask for an HTTP GET request
Synopsis
easy:SetOpt_HTTPGet(useget)
Function
Pass a value. If useget is 1, this forces the HTTP request to get back to using GET. Usable if a POST, HEAD, PUT, etc has been used previously using the same curl handle.

When setting #CURLOPT_HTTPGET to 1, it will automatically set #CURLOPT_NOBODY to 0 and #CURLOPT_UPLOAD to 0.

Setting this option to zero has no effect. Applications need to explicitly select which HTTP request method to use, they cannot deselect a method. To reset a handle to default method, consider easy:Reset().

Inputs
useget
input value

Show TOC