From f6033a4415dcc7d27d2141bc49f061357fb3b5ba Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Sun, 10 Dec 2017 10:23:12 +1100 Subject: [PATCH] chore(docs): fix CustomProviderHeaders formatting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b86686240..57f8e0535 100644 --- a/README.md +++ b/README.md @@ -371,10 +371,10 @@ For this case, we have a facility that should be carefully used during verificat For example, to have an `Authorization` header sent as part of the verification request, modify the `VerifyRequest` parameter as per below: ```go - pact.VerifyProvider(t, types.VerifyRequest{ + pact.VerifyProvider(t, types.VerifyRequest{ ... CustomProviderHeaders: []string{"Authorization: Bearer 0b79bab50daca910b000d4f1a2b675d604257e42"}, - }) + }) ``` As you can see, this is your opportunity to modify\add to headers being sent to the Provider API, for example to create a valid time-bound token.