Aug 02, 2015; 14:58
decorior
using curl
HI,
I am using an API which requires PUT for curl to SEND data NOT read from a file
I am trying to use the CURL command in lasso 9 .
local(m) = json_serialize(map(`description` = `Fuzzy Balls`))
#req->headers = (:
'Content-Type'='application/json'
,`Authorization` = `Bearer ` + #code->find(`access_token`)
)
#req->postParams = #m
#req->options = (: CURLOPT_FOLLOWLOCATION=1,CURLOPT_PUT=1)
local(resp) = #req->response
Nothing gets passed as the body.
#############################################################
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>
Aug 02, 2015; 16:35
Steve Piercy - Website Builder
Re: using curl