Upload + Form

29 views
Skip to first unread message

Julien

unread,
Apr 2, 2014, 10:00:12 PM4/2/14
to tot...@googlegroups.com
Hi,

I have a form with upload file.
How to write the framework.route with XHR, JSON, authorize and the flag : Upload ?

Thank you

framework.route('/up1', up1,{ flags: ['upload'], length: 524288000 }); // 1 === 1 kB

Peter Širka

unread,
Apr 3, 2014, 2:08:25 AM4/3/14
to tot...@googlegroups.com
Hi Julien,
this is problem, because browser doesn't support uploading files with XHR and JSON .... Currently - I don't know about it.

Answer for your question:
flags: ['upload', 'authorize', 'json', 'xhr']

Thanks.
Reply all
Reply to author
Forward
0 new messages