typo in README
This commit is contained in:
parent
e90ec32c2d
commit
44787b0f7d
|
@ -18,7 +18,7 @@ Or add the package to your `composer.json`.
|
||||||
|
|
||||||
```
|
```
|
||||||
"require": {
|
"require": {
|
||||||
"meta-tech/pws-client" : "~1.3"
|
"meta-tech/pws-client" : "^1.3"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ if ($response->done) {
|
||||||
|
|
||||||
}
|
}
|
||||||
// post example
|
// post example
|
||||||
$client->post('/ws/person/222/update', [ 'firstname' => 'toto']);
|
$response = $client->post('/ws/person/222/update', [ 'firstname' => 'toto']);
|
||||||
if ($response->done) {
|
if ($response->done) {
|
||||||
// do stuff
|
// do stuff
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ However, meta-tech always return this simple Json Structure :
|
||||||
`{ done : boolean, msg : 'string contextual msg', data : whatever }`
|
`{ done : boolean, msg : 'string contextual msg', data : whatever }`
|
||||||
|
|
||||||
see [ meta-tech/pws-server ](https://github.com/meta-tech/pws-server)
|
see [ meta-tech/pws-server ](https://github.com/meta-tech/pws-server)
|
||||||
and [ meta-tech/sile-core ](https://github.com/meta-tech/silex-core)
|
and [ meta-tech/silex-core ](https://github.com/meta-tech/silex-core)
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user