â HTTPã§HashãArrayãéãææ³ã«ä»æ§ã¯åå¨ããªãâ¦â¦ã®? jQueryã§ãããªãµãã«æ¸ãã¨: $.post('/', { hash: { foo: 'hoge', bar: 'fuga'}, array: ['baz', 'piyo'] }); ãµã¼ãå´ã§ãããªãµãã«åãåãã¦(ããã¯Sinatra): post '/' do params.each do |key, val| puts "#{key}: #{val} as #{val.class}" end end ã¡ããã¨HashãArrayã¨ãã¦ã¢ã¯ã»ã¹ã§ãã: hash: {"foo"=>"hoge", "bar"=>"fuga"} as Hash array: ["baz", "piyo"] as Array ããããã便å©ã ããã§æ¸ã¾ãã¦ããããã ãã©ãHTTP POSTã®ä¸èº«ãªãã¦ãã ã®ãã¤ãåãªãã ããåã®æ
{{#tags}}- {{label}}
{{/tags}}