Re: REST client demo

new topic     » goto parent     » topic index » view thread      » older message » newer message

I built my own releases from scratch using the C source code cause I wanted to master every detail if something went wrong. I added some functions in curl.e which might be useful for beginners:

  • public function curl_get(atom curl, sequence url, sequence headers={})
  • public function curl_post(atom curl, sequence url, sequence headers, object body)
  • public function curl_put(atom curl, sequence url, sequence headers, object body)
  • public function curl_delete(atom curl, sequence url, sequence headers={})
  • public function curl_patch(atom curl, sequence url, sequence headers, object body)
  • public function curl_head(atom curl, sequence url, sequence headers={})
  • public function curl_options(atom curl, sequence url, sequence headers={})
  • public function curl_trace(atom curl, sequence url, sequence headers={})

Every request is logged. I use it to drive my pellet stove.

Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu