Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
total.js - web framework for node.js
Conversations
Labels
About
Upload + Form
29 views
JSON
XHR
flags
framework
route
upload
Skip to first unread message
Julien
unread,
Apr 2, 2014, 10:00:12 PM
4/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
4/3/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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