/curldiff

An interactive utility to compare differences between two curl requests in a human readable format

Primary LanguageJavaScriptMIT LicenseMIT

curldiff

npm (scoped) npm

Not sure why a network request seems to be working, while another seemingly similar request stubbornly refuses to?

Just curldiff them!

curldiff is an interactive utility to compare two curl requests, and tell you what exactly you're screwing up.

It can be used either on the web or as a command line utility (experimental).

Web

https://pastelsky.github.io/curldiff

Command line (Experimental)

Installation

npm i -g curldiff

Usage

How do I generate a curl request?

The easiest way to generate a curl request is by selecting "Copy as CURL" in Chrome for any network request generated by your app.

Todo

  • Add support for diffing response body and headers
  • Better error Handling