Skip to content

Commit

Permalink
chore(docs): fix CustomProviderHeaders formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Dec 9, 2017
1 parent 5a1cefb commit f6033a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f6033a4

Please sign in to comment.