Hello All, I am trying to write an interaction where I need to provide custom headers. But this doesn't seem to be working. Am I doing something wrong here?
m
Matt (pactflow.io / pact-js / pact-go)
07/07/2022, 11:06 PM
You’re saying to Pact “I expect my test to make a call to the mock server with these headers” but it’s failing, because you are not making a request that has those headers and it’s not a multi part form request
p
Prasad
07/07/2022, 11:41 PM
Agree. My bad. Solved this error . Thanks a lot! But now I am unable to make multipart request from Pact. I am doing this but it doesn't work
Prasad
07/07/2022, 11:44 PM
I have tested my mock service and it works fine. It uploads the file using formdata. But when I replicate the request in Pact interaction it throws error. Here is my mock service