Skip to content

I have a problem consuming microcks 1.7.1 api #903

Answered by lbroudoux
darespa12 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @darespa12!

It looks like the logs above are coming from 2 different endpoints:

  • /api/artifact/upload for the first one. It expects artifact files like OpenAPI specs, AsyncAPI specs, Postman Collection, etc...
  • /api/import for the second one. It expects snapshots files previously retrieved using the /api/export endpoint. See repository snapshots

Change your curl to curl --location 'http://localhost:8080/api/artifact/upload' and it should fix the issue.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@darespa12
Comment options

Answer selected by lbroudoux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment