S
S
Stepgor2019-08-17 14:54:47
Node.js
Stepgor, 2019-08-17 14:54:47

How to make a POST request with Payload?

How to send a post request with payload? I understand that this is similar to formData , but what is the difference and how to send such requests correctly? I think it should look like this:

var request = require('request')

request.post({
   url: 'url',
   payLoad: 'data'
})

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question