weixin_33724059 2014-01-28 21:48 采纳率: 0%
浏览 44

来自node.js服务器的Ajax POST [重复]

This question already has answers here:
                </div>
            </div>
                    <div class="grid--cell mb0 mt4">
                        <a href="/questions/6158933/how-is-an-http-post-request-made-in-node-js" dir="ltr">How is an HTTP POST request made in node.js?</a>
                            <span class="question-originals-answer-count">
                                (21 answers)
                            </span>
                    </div>
            <div class="grid--cell mb0 mt8">Closed <span title="2014-01-28 22:55:12Z" class="relativetime">6 years ago</span>.</div>
        </div>
    </aside>

I have Node.js server with Socket.IO, which communicate with Python server (Django).
I need to perform POST from the node.js server (on specific method) to the Django server.
I cannot use any jquery function because it require window document.

Any other idea how can i send data to the Django from Node.js with POST method and check if it success?

Thanks.

</div>
  • 写回答

2条回答

  • larry*wei 2014-01-28 21:55
    关注

    You want to look at the HTTP package. Specifically use the ClientRequest class to issue the POST request

    评论

报告相同问题?

悬赏问题

  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn