0

I'm using Node.js express and httpAsyncClient library in android.

I was send request to express use Post include parameter.

Request is does work. but I can't get parameter in Post

I used this " var id = req.body.id; "

I think httpAsyncClient parameter type is form-data. but express is handle x-www-form-urlencoded.

How can i do?

user2968002
  • 39
  • 1
  • 7

1 Answers1

0

You'll need to configure a body-parser middleware. After that you should be able to get some results.

Juho Vepsäläinen
  • 26,573
  • 12
  • 79
  • 105