An open API service indexing awesome lists of open source software.

https://github.com/pastelsky/curldiff

An interactive utility to compare differences between two curl requests in a human readable format
https://github.com/pastelsky/curldiff

cli curl diff webapp

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# curldiff

![npm (scoped)](https://img.shields.io/npm/v/curldiff.svg)
![npm](https://img.shields.io/npm/l/curldiff.svg)

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
```bash
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