Suppory body in widget endpoint mappings
This commit is contained in:
1 parent
2367564041
commit
e35a66d3f1
2 files changed
+8
-2
No files matched your search
@@ -32,6 +32,7 @@ export default async function handler(req, res) {
|
||||
}
|
||||
|
||||
req.method = mapping?.method || "GET";
|
||||
if (mapping?.body) req.body = mapping?.body;
|
||||
req.query.endpoint = endpoint;
|
||||
|
||||
if (req.query.segments) {
|
||||
|
||||
Reference in new issue
Block a user