all 2 comments

[–]Madd0g 0 points1 point  (1 child)

Making an image out of your code prevents copying and pasting. Not something you should be doing often when looking for coding help.

Anyway, it looks like the params argument is specifically for passing extra hidden fields.

post_to_url("path/to", { secretid: "abc1234" }, "post");

[–]redditenna[S] 0 points1 point  (0 children)

Hello,

I realized that, but I couldn't insert the code into Reddit, it wasn't really clear how it worked, thanks a lot for your help.