add Imports to api, add curl file upload