API working with GET