9951 explained code solutions for 126 technologies


bashUrlencode string in bash


printf %s 'some string' | jq -sRr @urictrl + c
printf %s

will print specified string with no quotes

jq

a tool to work with JSON, but we'll use it for encoding here

-sRr @uri

will encode given value using urlencoding