Adding post create to REST API