jabernardo / wtf

Console POST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WTF! Console POST

Yet another cURL but using JSON files. WTF! could also be used to assert API results

Demo

asciicast

Prerequisites

Before you continue, ensure you have met the following requirements:

  • You have installed Python ^3.6
  • You have install poetry

Installation

# Clone repository
git clone https://github.com/jabernardo/wtf
cd wtf
# Make it install!
make install
# Test
wtf --help

How to use?

  1. First you need to create a JSON file containing the details of your request. See examples folder for more details.
{
    "label": "Get YCombinator Article",
    "url": "https://hacker-news.firebaseio.com/v0/item/8863.json?print=pretty"
}
  1. Run application
wtf -f ycombinator.json

Contibuting to WTF!

To contribute to WTF! Make sure to give a star and forked this repository.

Alternatively see the GitHub documentation on creating a pull request.

License

The wtf is open-sourced software licensed under the MIT license.

About

Console POST

License:MIT License


Languages

Language:Python 98.2%Language:Makefile 1.8%