readme update
This commit is contained in:
parent
7dc94e0abf
commit
9539fc92fa
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
@ -6,6 +6,16 @@ Zur Verfügung gestellt werden Requests mit den benötigten Models, Types und En
|
|||
|
||||
Der WebApiClient realisiert den automatischen refresh von Zugangs-Tokens.
|
||||
|
||||
Installation:
|
||||
``` npmrc
|
||||
@ff-admin:registry=https://npm.registry.jk-effects.cloud
|
||||
//npm.registry.jk-effects.cloud/:_authToken="xxx" # hier optional token einfügen - ff-admin packages sind öffentlich
|
||||
```
|
||||
|
||||
``` bash
|
||||
npm install @ff-admin/webapi-client
|
||||
```
|
||||
|
||||
Beispiele:
|
||||
1. Verwendung des Clients:
|
||||
``` ts
|
||||
|
@ -72,4 +82,6 @@ let myClient = new WebApiClient({
|
|||
myClient.initialize()
|
||||
|
||||
client.httpEvents.on(<"error" | "info">, (data) => {})
|
||||
```
|
||||
```
|
||||
|
||||
zum Package: https://npm.registry.jk-effects.cloud/-/web/detail/@ff-admin/webapi-client
|
Loading…
Add table
Reference in a new issue