Conforming to API docs in data sending