Kellie Persson
11/14/2022, 11:51 PMyou will need to create a dev/test only HTTP endpoint that accepts a JSON document that looks like:
```{
"consumer": "CONSUMER_NAME",
"state": "PROVIDER_STATE"
}```
The following flag is required when running the CLI:
•Does my test only endpoint need to access a body in the request that I can pass in- the full url of the endpoint which sets the active consumer and provider state.--provider-states-setup-url
CONSUMER_NAME
and PROVIDER_STATE
or is the url just supposed to pass up those values as parameters in order to pass along w/ --provider-states-setup-url
?
Once I correctly parse the consumer and state, what do I need to do in my controller to properly load the provider state?
Thank you in advance for any and all assistance.Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Kellie Persson
11/14/2022, 11:52 PMBeth (pactflow.io/Pact Broker/pact-ruby)
Kellie Persson
11/14/2022, 11:53 PMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Kellie Persson
11/14/2022, 11:54 PMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Kellie Persson
11/14/2022, 11:58 PM