Buiding API PUT/POST