Skip to content

Matt-B/api-comparison-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Usage:

npm install
node compare-responses.js "http://www.google.com/" "http://www.google.com/"

About

Quick node script to diff two API responses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published