Auto Response for Testing Node.js SaaS Based REST API

I have been enjoying the use of Node.js.  I started by first creating the backend which is a node.js server which has REST end-points that my client will call.  In this case the client is a mobile application to receive data on tweets.  That isn’t necessarily important for this short post.

I was at a coffee shop recently and really didn’t want to ping my node.js test server each time I was working on the client.  I used Fiddler to create an auto-response that would usually come back from the node.js server.

Fiddler Auto Response

1. In the picture you can see that I have right-clicked on the request to save the response.

2. Click on the AutoResponder tab.

3. Then insert your the response url you want to auto repsond to.  Add in the file location to the response you saved from the last step.

4. I clicked the check box above which allows other traffic to pass through so that I could still go to other websites.

Mobile Credit Card Processing

I signed up for two different mobile payment processing options.  I have ordered the Square (which is free) and have applied for the GoPayment (which has a two-month free trial).  The GoPayment will also send a free credit card scanner.  I figured we can just choose which one we like better 😉

Advantage / Disadvantage

Both Have
  • Mobile apps for ipad/iphone/android
Square
  • + More popular
  • + Possibly easier (not sure until we try 🙂
  • – Higher fee 2.75%
  • – No link with Quickbooks
GoPayment
  • + Links with Quickbooks (made by Intuit the same guys that make Quickbooks)
  • + Lower credit card fees 1.64% + 0.27 cents
  • –  Monthly fee 15.95