pass JSON to HTTP POST Request

后端 未结 9 2058
傲寒
傲寒 2020-11-29 18:22

I\'m trying to make a HTTP POST request to the google QPX Express API [1] using nodejs and request [2].

My code l

9条回答
  •  庸人自扰
    2020-11-29 19:15

    you can pass the json object as the body(third argument) of the fetch request.

提交回复
热议问题