NI-Lab.

nilog:

← 前の日 2017-01-07 次の日 →
← 一年前 一年後 →
Twitter (2017-01-07)
「URI.encode_www_formでURLエンコードする際に、配列の配列を渡すことだ。Hashじゃないからキーの重複も問題ない」

Rubyのnet/httpで重複するキーをもつパラメータをPostする - 定食屋おろポン http://oropon.hatenablog.com/entry/2014/10/28/022213
[t] 2017-01-07 23:46:32
関連するかも情報
「HTML5 で定義されている application/x-www-form-urlencoded 形式の 文字列を生成します」

singleton method URI.encode_www_form (Ruby 2.4.0) https://docs.ruby-lang.org/ja/latest/method/URI/s/encode_www_form.html
[t] 2017-01-07 23:43:43
「URI.encode_www_formでURLエンコードする際に、配列の配列を渡すことだ。Hashじゃないからキーの重複も問題ない」

Rubyのnet/httpで重複するキーをもつパラメータをPostする - 定食屋おろポン http://oropon.hatenablog.com/entry/2014/10/28/022213
[t] 2017-01-07 23:46:32
encode_www_form(enum) -> String

「enum には通常 [key, value] という形の配列の配列を渡します」

URI.encode_www_form (Ruby 2.4.0) https://docs.ruby-lang.org/ja/latest/method/URI/s/encode_www_form.html
[t] 2017-01-07 23:47:59
2017年01年07日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN