A Simple get API is created