Skip to content

Instantly share code, notes, and snippets.

@richarddli
Last active May 1, 2017 20:32
Show Gist options
  • Save richarddli/7744f6e651f60e56933aff6a82faba03 to your computer and use it in GitHub Desktop.
Save richarddli/7744f6e651f60e56933aff6a82faba03 to your computer and use it in GitHub Desktop.
curl
curl -XPOST -H "Content-Type: application/json" \
-d '{ "prefix": "/v1/user/", "service": "usersvc", "rewrite": "/v2/" }' \
$AMBASSADORURL/ambassador/mapping/user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment