Fix submission API endpoint and request format.