doc: PUT instead of POST discovery config

curl defaults to POST rather than PUT, which is not what we want. Explicitly use PUT in the example.