Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Pass 3 of the same thing to ExpressJS with a form

var qs = require('qs');
qs.parse('user[category][]=cat1&user[category][]=cat2')
// { user: { category: [ 'cat1', 'cat2' ] } }
 
PREVIOUS NEXT
Tagged: #Pass #ExpressJS #form
ADD COMMENT
Topic
Name
5+7 =