Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly wrong url path in the README example #324

Open
jabbson opened this issue Oct 16, 2021 · 0 comments
Open

Possibly wrong url path in the README example #324

jabbson opened this issue Oct 16, 2021 · 0 comments

Comments

@jabbson
Copy link

jabbson commented Oct 16, 2021

README.md suggests to POST the JSON to /modifiers, but the example shows the request to /configure

To configure Martian, POST the JSON to http://martian.proxy/modifiers. You'll want to use whatever mechanism your language of choice provides you to make HTTP requests, but for demo purposes, curl works (assuming your configuration is in a file called modifier.json).

    curl -x localhost:8080 \
         -X POST \
         -H "Content-Type: application/json" \
         -d @modifier.json \
            "http://martian.proxy/configure"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant