Simple script for making request to api from commandline