Jun 21, 2015; 05:56
deco rior
include_url with the curl opt option in lasso 9.3
I have to add the “follow redirects” to an API call. This is the first tim eI have trun into this.
I am trying to set the CURLOPT_FOLLOWLOCATION with include
I have the following call defined.
include_url(
`https://api.kounta.com/v1/companies/me.json`,
-sendMIMEHeaders=array(`Authorization` = `Bearer ` + #code->find(`access_token`)),
-retrieveMimeHeaders=$r,
-options=array(pair(`CURLOPT_FOLLOWLOCATION`=1)
))
But I get this error?
Error Message: Definition Not Found: curl_easy_setopt(curltoken, string, integer) Candidates were: curl_easy_setopt(p0::curltoken, p1::integer, p2)
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jun 21, 2015; 05:19
Steve Piercy - Website Builder
Re: include_url with the curl opt option in lasso 9.3