Created
April 21, 2016 09:19
-
-
Save maxehmookau/2235e23883b45e1ca3ca0c7bd7f6716a to your computer and use it in GitHub Desktop.
HTTParty GET Request where two parameters have the same key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include HTTParty | |
query = {} | |
query["x"] = ['value1', 'value2'] | |
response = HTTParty::Basement.get(__URL__, query: query, | |
query_string_normalizer: HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment