Yet another cURL but using JSON files. WTF! could also be used to assert API results
Before you continue, ensure you have met the following requirements:
- You have installed Python ^3.6
- You have install poetry
# Clone repository
git clone https://github.com/jabernardo/wtf
cd wtf
# Make it install!
make install
# Test
wtf --help
- 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"
}
- Run application
wtf -f ycombinator.json
To contribute to WTF! Make sure to give a star and forked this repository.
Alternatively see the GitHub documentation on creating a pull request.
The wtf
is open-sourced software licensed under the MIT license.