Thanks for the advice, CGI::Struct is a cool module but actually just helped me move in the right direction. If anyone is curious, I fixed this problem by modifying the server-side call to be in JSON format and decoding it on the backend.
Old HTTP request:
services[0][name]:test
services[0][type]:http
services[0][port]:80
New HTTP request:
services:[{"name":"xyz","type":"http","port":"80"},{"name":"123","type
+":"http","port":"80"}]
Thanks!! |