Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Headers #158

Open
chadruff8 opened this issue Apr 20, 2018 · 0 comments
Open

Custom Headers #158

chadruff8 opened this issue Apr 20, 2018 · 0 comments

Comments

@chadruff8
Copy link

I have noticed that some API calls require custom headers. For example, in creating a new webhook, it has custom headers as follows

{
"name": "Example webhook",
"target": "http://client.example.com/example-webhook",
"custom_headers": {
"x-api-key": "abcd"
},
"auth_type": "oauth2", etc...

But, the SparkPost.Webhook object does not contain a property for the custom headers.

Am I looking in the wrong place or is this a gap in the API ?

ericthornton added a commit to ericthornton/csharp-sparkpost that referenced this issue Oct 4, 2018
Addressed darrencauthon#158 by adding CustomHeaders to the Webhook class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant