Http.urlencode error

Hi, Anyone else notice that the urlencode function will not process attribute names with “.” characters? I am trying to send a REST request to AWS. There are workarounds of course, but I’m not sure if this is by design or not. Sample below will not process without error:

http.urlencode({ Attribute.1.Name=Activity_Code });

The problem is with your Squirrel table constructor syntax, not with the urlencode function. When a table slot (attribute name) isn’t a valid (single) Squirrel identifier, you need to use either an indexed assignment:

http.urlencode({ ["Attribute.1.Name"] = Activity_Code });

or JSON syntax:

http.urlencode({ "Attribute.1.Name": Activity_Code });


Got it, thanks…new language for me.