You’re getting a 404 because --data-urlencode isn’t part of the URL, it is part of the curl command in the example docs, so you’re sending a request to the wrong URL. Try removing --data-urlencode and it should work.
You’re getting a 404 because --data-urlencode isn’t part of the URL, it is part of the curl command in the example docs, so you’re sending a request to the wrong URL. Try removing --data-urlencode and it should work.