
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
directus-extension-form-to-flow
Advanced tools
Endpoint for transforming multipart/form-data or application/x-www-form-urlencoded to json for flow.
A Directus endpoint extension that receives HTML form data (multipart/form-data or application/x-www-form-urlencoded) and forwards it to a Directus flow in JSON format.
This extension acts as a bridge between classic HTML forms and Directus flows. It automatically converts received data to JSON format and forwards it to the specified flow, facilitating the integration of external forms with your Directus instance.
POST /formtoflow/:id
Where :id corresponds to the Directus flow ID you want to trigger.
<form action="/formtoflow/YOUR_FLOW_ID" method="POST" accept-charset="UTF-8" enctype="multipart/form-data">
<input type="text" name="name" placeholder="Name" required>
<input type="email" name="email" placeholder="Email" required>
<input type="file" name="document">
<textarea name="message" placeholder="Message"></textarea>
<button type="submit">Submit</button>
</form>
The data received by the flow will be in JSON format:
{
"name": "John Doe",
"email": "john@example.com",
"message": "Here is my message",
"document": {
"buffer": "[Base64 data]",
"originalname": "document.pdf",
"mimetype": "application/pdf"
}
}
No specific configuration is required. The extension uses:
multer
for multipart file handlingbody-parser
for URL-encoded datanode-fetch
for requests to flows@directus/extensions-sdk
node-fetch
multer
body-parser
This extension can be extended to:
MIT Dan Denolf
FAQs
Endpoint for transforming multipart/form-data or application/x-www-form-urlencoded to json for flow.
We found that directus-extension-form-to-flow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.