Skip to content
Discussion options

You must be logged in to vote

Can you include the docker command you used to start registry? I just tested this locally and your curl command worked perfectly for me. Here's what I did:

docker run -it -p 8081:8080 apicurio/apicurio-registry-mem:latest-release

And then I just copy/pasted your command (and piped it to jq):

$ curl -X POST -H "Content-type: application/json; artifactType=AVRO"   -H "X-Registry-ArtifactId: share-price"   --data '{"type":"record","name":"price","namespace":"com.example", \
   "fields":[{"name":"symbol","type":"string"},{"name":"price","type":"string"}]}'   http://localhost:8081/apis/registry/v2/groups/my-group/artifacts | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RicardoFernandez-UY
Comment options

@EricWittmann
Comment options

Answer selected by EricWittmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants