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

Improve documentation of exposed service #211

Merged
merged 4 commits into from
Sep 19, 2023
Merged

Improve documentation of exposed service #211

merged 4 commits into from
Sep 19, 2023

Conversation

SergioLangaritaBenitez
Copy link
Contributor

Fixes #

Proposed Changes

  • Explain with more detail the invocation of an expose OSCAR services
  • Example of the API of DEEP Open Catalog.

Copy link
Member

@gmolto gmolto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Minor changes requested inline.

docs/invoking.md Outdated

1. Oscar endpoint. `localhost` or `https://{oscar_endpoint}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oscar --> OSCAR

docs/invoking.md Outdated
Finally, the complete command that works in [Local Testing](https://docs.oscar.grycap.net/local-testing/) with an image called `people.jpeg` as input and `output_posenet.zip` as output.

``` bash
curl -X POST localhost/system/services/body-pose-detection-async/exposed/v2/models/posenetclas/predict/ -H "accept: */*" -H "Content-Type: multipart/form-data" -F "data=@people.jpeg;type=image/png" --output output_posenet.zip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing protocol: "localhost" --> https://localhost

@gmolto gmolto merged commit 528c0c0 into master Sep 19, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants