如何将Web Api服务连接到Node.Js本地服务器 [英] How Do I Connect A Web Api Service To Node.Js Local Server

查看:119
本文介绍了如何将Web Api服务连接到Node.Js本地服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个web api服务,它将在json中返回一些值,我需要在它和我的node.js服务器之间建立连接,因此,当我运行它并转到特定地址(例如localhost:9000 / index.html)时,服务将启动,我创建的html显示数据。



我想我已经正确地解释了我的问题。

有没有办法做到这一点,我在网上搜索但我找不到任何帮助我的信息。



Thk

Hi,

I have a web api service that will return some values in json and i need to establish a connection between it and my node.js server, so when i run it and go to a specific address (localhost:9000/index.html for example) the service will start and the html i've created shows me the data.

I think i've explain my problem correctly.
Is there a way to do it, i' searched the web but i can't find any info that helps me.

Thk

推荐答案

这篇关于如何将Web Api服务连接到Node.Js本地服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆