How to handle ajax/http-post request (responsetype: arraybuffer) using nodejs+express in the backend

前端 未结 2 1388
自闭症患者
自闭症患者 2021-01-25 09:57

Situation : Client js sends ajax request to nodejs express server.

Client

xmlHttpRequest=new XMLHttpRequest();  
xmlHttpRequest.open(\"POST\",\"/some/se         


        
2条回答
  •  日久生厌
    2021-01-25 10:19

    I don't know about arraybuffer but usually, we can access the POST data using the req.body parameter. Does that work for you?

提交回复
热议问题