question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

get key value from request

See original GitHub issue

Hello, 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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mcollinacommented, Aug 4, 2019
0reactions
borodadadacommented, Aug 4, 2019

mr. admin why you close theme, problem is real

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found