Bash, wget, post, and brackets. How to make friends?

Good night!
Using wget I send the following post request: --post-data="name=$name&direction[]=1,3,5"
The second part of the server processes with error .. How to overcome the problem )) ?
Thanks in advance ))
April 4th 20 at 13:15
1 answer
April 4th 20 at 13:17

Find more questions by tags bashWget