Using Postman to query the Web API endpoints #185
Unanswered
JasonDeanRoss
asked this question in
Q&A
Replies: 1 comment
-
Sorry for the delay in responding to this @JasonDeanRoss . We've added the following ticket to clarify the readme, do you think that will sufficiently address your concern? Election-Tech-Initiative/electionguard-api-python#206 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got the Docker container running for the Web API version of the ElectionGuard app, but I'm having issues connecting to it through Postman using the tests included in the repo. First, I ran the following, as instructed by the documentation:
Pull the image from DockerHub
docker pull electionguard/electionguard-web-api:latest
Start a container for the API in mediator mode, exposed on port 80 of the host machine
docker run -d -p 80:8000 --env API_MODE=mediator electionguard/electionguard-web-api:latest
Instead of this result:
I found the APIs responding on port 80 and 81 respectively. And the only endpoint I tried that doesn't return Not Found is the get constants endpoint. Is there an order of endpoints to run to get the system set up correctly? I couldn't find any documentation that describes what to do after the Docker container starts up. Can anyone suggest next steps?
Beta Was this translation helpful? Give feedback.
All reactions