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?