Skip to content
Quick node script to diff two API responses
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This is a quick script I wrote to help me when testing. Often a requirement of a change being made is that the response being returned does not change. This script takes two URLs, makes a request to each one and diffs the responses, printing the results in colour to the terminal.


npm install
node compare-responses.js "" ""
You can’t perform that action at this time.