ruby - RestClient converts params hash to cookie -
i'm playing around restclient , haven't been able find answer this. create params
hash i'm passing restclient so:
params = {params:{param1:value1, param2:value2}}
then call url
restclient.get url, params
what's weird when ask console params
again, looks this:
{:cookie=>"awselb=e90d276b18acb0e9cf92fc50e2d6a7806bfb19afaab5a8dcd361bdac4d65213e9abf6fb1f2a3d2a7e0460e3d884f55a9aa3239c8fe9a071cc3f4acea34ae7b78f81e643fb7; max-age=3600; path=/"}
what's going on here?
Comments
Post a Comment