Catalog Request not displaying any Contract Offers #18
-
Dear all, I am a beginner using the connector and playing around with the 'Samples' tutorial. I would really appreciate your help with something: I am trying to display all available Contract Offers. After reading the swagger API endpoint documentation, I thought I should do a request like this:
This is what the body of the request contains in the contractdefinition.json file:
I would expect an output similar to this:
However I am getting this output as if there were no offers available:
I believe the error might be in the contractdefinition.json file. Thank you so much for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As providerUrl in the request you are stating |
Beta Was this translation helpful? Give feedback.
As providerUrl in the request you are stating
http://localhost:9292/api/v1/ids/data
. If you did not make any changes to the port configurations, the consumer is running on 9292, which doesn't offer any data. The provider is running on port 8282, so to query the provider's catalog you would need to set"providerUrl": "http://localhost:8282/api/v1/ids/data"
.