You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,6 +217,54 @@ Expected output:
217
217
```json
218
218
{"errors":["Schema validation has failed: jsonschema: '' does not validate with file:///Users/user/memphisdev/memphis-rest-gateway/123#/required: missing properties: 'field1'","Schema validation has failed: jsonschema: '' does not validate with file:///Users/user/memphisdev/memphis-rest-gateway/123#/required: missing properties: 'field1'"],"fail":2,"sent":1,"success":false}
219
219
```
220
+
### Consume a batch of messages 
221
+
222
+
Attach the JWT token to every request.\
223
+
JWT token as '`Bearer`' as a header.
224
+
225
+
The messages are auto acknowledged by the rest gateway.
226
+
227
+
#### Supported content types:
228
+
229
+
* application/json
230
+
231
+
#### Example:
232
+
233
+
```bash
234
+
curl --location --request POST 'rest_gateway:4444/stations/<station_name>/consume/batch' \
0 commit comments