First draft of make-api-request function. Very simple at the moment.