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

Error while passing parameters to the "process" endpoint #4

Open
vipulg13 opened this issue Feb 11, 2022 · 0 comments
Open

Error while passing parameters to the "process" endpoint #4

vipulg13 opened this issue Feb 11, 2022 · 0 comments

Comments

@vipulg13
Copy link

vipulg13 commented Feb 11, 2022

Dear @dennyluan, dear @cindywu,

I am running the services on docker. When I am posting the following request, I am getting 422 response with message "Missing PDF url".

curl localhost:4567/process -X POST -H "Content-Type: application/json" -d '{"pdf": "https://storage.googleapis.com/jellyposter-store/d5058c6990e36d68068ad98422372b6b.pdf", "upload_id": "1"}'

my docker compose file looks like:

version: "3"

services:
pdffigures2:
image: dluan/figures:0.0.5
container_name: pdffigures2
build: .
ports:
- "4567:4567"
networks:
- pdffigures2_net
environment:
- RAILS_ENV=development
- RACK_ENV=development

networks:
pdffigures2_net:
driver: bridge

could someone please help me to fix this issue?

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