get key value from request
See original GitHub issueHello, i have a question, where my data after incomming 😃
let formData = new formdata();
formData.append("aaa", JSON.stringify( { aaaaaa: 'aaaaaaaaaa' } ) );
formData.append("bbb", JSON.stringify( { bbbbb: 'bbbbbbbbbbb' } ) );
axios.post('http://localhost:3000/load', formData, {
headers: {
'Accept': 'application/json',
'Content-Type': 'multipart/form-data'
}
})
server
fastify.post('/load', async (request, reply) => {
how get data??? my aaa and bbb
reply.send( await load.init(request) )
});
Or this only for files transfer?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to write a http get request when a key's value is an array?
Show activity on this post. I have written a java servlet to deal with http get request. I know ,the common format of...
Read more >How to compose an HTTP GET request URL with key/value ...
I am experimenting with some code running on an ESP8266 board to retrieve data using a web API. I would like to store...
Read more >Review of HTTP Requests and Responses - Java Web Services
Because a GET request has no body, such a request often includes, in the URI, a query string that consists of key/value pairs....
Read more >Get key by value in object | Postman API Network - Postman
Get started with Get key by value in object, Test and Access: array and object properties by Postman on the Postman Public API...
Read more >IDBIndex.getKey() - Web APIs - MDN Web Docs
The getKey() method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that ...
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
There are plenty of examples in https://github.com/fastify/fastify-multipart/blob/master/test/multipart.test.js.
mr. admin why you close theme, problem is real