Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yidas committed Feb 27, 2019
1 parent b57dc65 commit 76d6a6c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Expand Up @@ -6,7 +6,7 @@
<br>
</p>

CodeIgniter 3 RESTful API Controller
CodeIgniter 3 RESTful API Resource Base Controller

[![Latest Stable Version](https://poser.pugx.org/yidas/codeigniter-rest/v/stable?format=flat-square)](https://packagist.org/packages/yidas/codeigniter-rest)
[![Latest Unstable Version](https://poser.pugx.org/yidas/codeigniter-rest/v/unstable?format=flat-square)](https://packagist.org/packages/yidas/codeigniter-rest)
Expand Down Expand Up @@ -323,6 +323,14 @@ The PSR-7 request component `yidas\http\request` is loaded with `yidas\rest\Cont

### Usage

#### getRawBody()

Returns the raw HTTP request body

```php
public string getRawBody()
```

#### getAuthCredentialsWithBasic()

Get Credentials with HTTP Basic Authentication
Expand Down Expand Up @@ -439,3 +447,4 @@ REFERENCE

- [REST Relationship between URL and HTTP methods](https://en.wikipedia.org/wiki/Representational_state_transfer#Relationship_between_URL_and_HTTP_methods)

- [PSR-7: HTTP message interfaces](https://www.php-fig.org/psr/psr-7/)
2 changes: 1 addition & 1 deletion composer.json
@@ -1,6 +1,6 @@
{
"name": "yidas/codeigniter-rest",
"description": "CodeIgniter 3 Base Controller for API implement",
"description": "CodeIgniter 3 RESTful API Resource Base Controller",
"keywords": ["codeIgniter", "api", "controller", "authorization"],
"homepage": "https://github.com/yidas/codeigniter-rest",
"type": "library",
Expand Down

0 comments on commit 76d6a6c

Please sign in to comment.