php - Redirect file upload -
i'm building website in php have split project in 2 parts, api , "web application". api accessed @ http://api.localhost , other part @ http://localhost . now on http://localhost i've added dropzone form want handle request @ http://api.localhost/upload . since it's different domains, dropzone doesn't seem allow out of box. can upload file http://localhost , somehow redirect file http://api.localhost/upload ? or there else can try?