Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 533 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 533 Bytes

unirest library for codeigniter

Load CI Library

$this->load->library("unirest");

Request Reference

$response = $this->unirest->get($url, $headers = array());
$response = $this->unirest->post($url, $headers = array(), $body = NULL);
$response = $this->unirest->put($url, $headers = array(), $body = NULL);
$response = $this->unirest->patch($url, $headers = array(), $body = NULL);
$response = $this->unirest->delete($url, $headers = array());