temporary curl for upload