Jump to content
Sign in to follow this  
Jared

Node.JS xmlhttprequest

Recommended Posts

I'm wanting to create a very simple NodeJS server that filters/forwards JSON request and responses.

Currently I have my SmartMobileStudio built web application using unit W3C.XMLHttpRequest to talk directly to a JSON REST store, but I want to insert this a server between these. 

I thought it was going to be a simple matter of reusing W3C.XMLHttpRequest, however it seems I shouldn't use this class since it is W3C - meaning web browser only?

Do I need a NodeJS.XMLHttpRequest unit?

Unfortunately my research has found that NodeJS doesn't support that XMLHttpRequest out of the box but does via the following package:

https://www.npmjs.com/package/xmlhttprequest

How would I best be to go about trying to get this working?

Thanks in advance.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×