Send proper commit data to api