Live data from Hacker News

Requestdiff – Send two HTTP requests and visualize any differences

requestdiff.com

31–36 of 36 posts

Re: Requestdiff – Send two HTTP requests and visualize any differences

#33
post #6

For command-line junkies: diff https://httpbin.org/get ) https://httpbin.org/get?show_env=1 )

Actually this is closer still to the output. Requires colordiff: diff -u https://httpbin.org/get ) https://httpbin.org/get?show_env=1 ) | colordiff

you can leave off the pipe: colordiff -u https://httpbin.org/get) https://httpbin.org/get?show_env=1)

Re: Requestdiff – Send two HTTP requests and visualize any differences

#35
Use Vim, it's the best diff tool by a long shot. Syntax highlighting, side-by-side diffs, and code folding (when large contiguous sections are equal)

vimdiff https://httpbin.org/get") https://httpbin.org/get?show_env=1")

It takes some getting used to but once you go vimdiff you'll never go back.

Post reply on HN