API post implementation (work in progress)