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
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -328,3 +328,26 @@ function getRequestUrlWithoutToken(requestUrl){
328
328
329
329
module.exports= router;
330
330
```
331
+
332
+
333
+
## Request body trigger (advanced)
334
+
335
+
The connector supports triggering on request body content. An example could be a POST call with specific item ID where you want end-users to queue up for.
336
+
For this to work, you will need to contact Queue-it support or enable request body triggers in your integration settings in your GO Queue-it platform account.
337
+
Once enabled you will need to update your integration so request body is available for the connector.
338
+
You may need to add the following middleware in your express app:
339
+
340
+
```javascript
341
+
constbodyParser=require('body-parser');
342
+
343
+
// ... in your app setup
344
+
345
+
app.use(bodyParser.text());
346
+
```
347
+
348
+
And then add this to the httpRequest object in your http context provider:
0 commit comments