Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Building a URL Query String from a Data Structureby dorko (Prior) |
on Feb 10, 2016 at 13:34 UTC ( [id://1154862]=note: print w/replies, xml ) | Need Help?? |
Hi thomas895,
If I understand you correctly, you're suggesting something like this:
Output: %7B%22sub%22%3A%7B%22name%22%3A%22foo%22%2C%22message%22%3A%22bar%22%7D%2C%22file_ids%22%3A%5B1%2C2%5D%2C%22name%22%3A%22test%20name%22%7D So that's kind of like saying: https://example.com/api/v1/dosomething?{"file_ids":[1,2],"name":"test name","sub":{"message":"bar","name":"foo"}} and I need to be saying:
I did take a look at the URI module and I didn't see anything there... Cheers,
Brent
-- Yeah, I'm a Delt.
In Section
Seekers of Perl Wisdom
|
|