Is it possible for a node js application to make a call to another web application on Tomcat with a restful service call?
Regards
Yes, a node.js application can do any sort of networking you would like including make a REST call to another server.
The request
module makes this particularly easy, though it can also be done with just the plain http
module with a bit more coding.
References:
How to make remote REST call inside Node.js? any CURL?
Calling a REST API from a NodeJS Script
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.