Scripting

How to urlencode data for curl command

How to urlencode data for curl command

I americium making an attempt to compose a bash book for investigating that takes a parameter and sends it done curl to internet tract I demand to url encode