Update binding api docs - Invalid JSON (#388)

The defined metadata payload is invalid json.
This commit is contained in:
Carlos Landeras 2020-03-07 02:35:26 +01:00 committed by GitHub
parent 38e3302ace
commit d003b4508c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -84,9 +84,9 @@ The bindings endpoint receives the following JSON payload:
```json
{
"data": "",
"metadata": [
"metadata": {
"": ""
]
}
}
```
@ -107,8 +107,8 @@ curl -X POST http://localhost:3500/v1.0/bindings/myKafka \
"data": {
"message": "Hi"
},
"metadata": [
"metadata": {
"key": "redis-key-1"
]
}
}'
```