Added is_valid? to service and call from API for post, put