Hi, is it possible to use `providerState` to chang...
# pact-js
a
Hi, is it possible to use
providerState
to change the body (or part of it) of a POST request? in the consumer side i add:
Copy code
body: fromProviderState('${actualyPayload}', samplePayload),
and in the relevant
stateHandler
on the provider side i added:
Copy code
setup: () => {
            return Promise.resolve({ actualPayload: payload });
          },
But pact still seems to send the original payload