I'm using refile gem to upload multiple files to my S3 bucket through cloudfront CDN and it is woking just fine with standard file attachment field. But now I want to enhance front view experience by implementing drag and drop file JS library on front-end. For this I've chosen http://fineuploader.com/ and I've taken initial steps to integrate it with my view file.
However, now this plugin require us to specify the URL where it should send uploads and server requests to. This endpoint can be an absolute path or a relative path. More information could be found here: http://docs.fineuploader.com/quickstart/02-setting_options.html
But I'm not sure what endpoint this should be, considering I'm using Refile gem on server side for uploading.