Skip to content

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

@vipulg13

Description

@vipulg13

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions