Upload api call works