Where is the file data during request to server?
See original GitHub issueGood day guys,
I have a summary of my concern below
const EDITOR_JS_TOOLS = {
image: {
class: Image,
config: {
endpoints: {
byFile: 'http://localhost:3001/api/uploads'
},
field: 'image',
types: 'image/*'
}
}
}
const CommentEditor = () => {
return <EditorJs tools={EDITOR_JS_TOOLS} />
}
When my react sends request to
router.post('/', async (req, res) => {
//when client use this endpoint, console.log can display a message
})
but where is the data? I look it to req.body but empty
Thank you.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Developer: Retrieving File Data - SugarSync
To retrieve file data, an application submits an HTTP GET request to the file data resource that represents the data for the file....
Read more >Fetching data from the server - Learn web development | MDN
This article shows how to start working with Fetch to fetch data from the server.
Read more >How does HTTP file upload work? - Stack Overflow
In a request, this is where user-entered data or uploaded files are sent to the server. http://www.tutorialspoint.com/http/http_messages.htm.
Read more >Sending a HTTP request to the server and saving the ...
Sending a HTTP request to the server and saving the response information to a local file - Cloud - 8.0. HTTP. Version: Cloud:...
Read more >How to get data directly from request.form.file[0] instead of ...
I work on c# 7 I face issue I can't get data from file Request.form.file[0] directly. it must copying to server to get...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes @Jungwoo-An
@avillarubia Are you talking about static file upload? If so, I don’t have plans. 😥
Thanks!