Request data with node js

recently, we are working on a small project for data request, which requires the following requirements:
request address
https://open.ys7.com/api/lapp.
request method
POST
request parameter
parameter name / data type / description
access token obtained by the accessToken / String/ open platform authorization process. For more information on how to obtain data, please see API https://open.ys7.com/doc/zh/b.

.

consumerId / String/ consumer is uniquely identified in the group. If it is not used within 5 minutes, it will be automatically deleted and disconnected from the link to the message channel Y
whether the preCommit/ int/ is on read-submit mode: 0-off, 1-on. Optional parameter. N

is turned off by default.

request message
POST / api/lapp/mq/v1/consumer/messages HTTP/ 1.1
Host: open.ys7.com
Content-Type: application/x-www-form-urlencoded

accessToken=at.dunwhxt2azk02hcn7phqygsybbw0wv6p&consumerId=fab41dc1ea1043e3ad7285c96df05517

I would like to ask if the gods have any good ideas or relevant examples for reference, beginners, please forgive me

May.06,2021

Request library look at the way post is used in it, and a concrete example is given.

Menu