Working API post and read