I browsed the official document,but i can't found any info about postjson.
I try this way,but no effect,
localpost_data= {
sn=sn
}
localheaders= {}
headers["Content-Type"] ="application/json;charset=utf-8"headers["Accept"] ="application/json"localpostdata_json=json.encode(post_data)
c:setopt_httpheader(headers)
c:setopt_postfields(postdata_json)
c:setopt_writefunction(function(response_data)
alert(response_data) end)
c:perform()
c:close()can u help me ,give a sample?
I browsed the official document,but i can't found any info about postjson.
I try this way,but no effect,
can u help me ,give a sample?