Created simple http API interface using JSON