I have an api server that support the urls to be in this format
api.add_resource(Component, '/mycustom-url/<string:text>',
methods=['GET'])
I need to support using it with curl.
The string might be arabic, so we need to urlencode before sending with curl. I want to do it through the curl command directly.
In docs, I can see using -d with query string
curl -d "name=curl" https://example.com
Is there a way to use it for full urlencode or the last parameter part?
eg: I want to be able to call curl https://example.com/mycustom-url/عربي.
without url encoding then send the long encoded one through curl?