return the data object in POST method