-
Notifications
You must be signed in to change notification settings - Fork 60
Conversation
exposed in hooks and after zapier/zapier#16747 it'll be exposed in the `getAccessToken` method
README-source.md
Outdated
querystring:'key=value;key2=value2', | ||
content:'{key:value}' | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since these are Javascript objects, I'd do something more complete and neater like:
{
method: 'POST',
querystring: 'foo=bar&baz=qux',
headers: {
'Content-Type': 'application/json'
},
content: '{"hello": "world"}'
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lazy me. Will fix
README-source.md
Outdated
key: 'value' | ||
} | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As well as a matching cleaned version:
{
method: 'POST',
querystring: {
foo: 'bar',
baz: 'qux'
},
headers: {
'Content-Type': 'application/json'
},
content: {
hello: 'world'
}
}
README-source.md
Outdated
@@ -633,6 +633,41 @@ module.exports = { | |||
}; | |||
``` | |||
|
|||
### `bundle.rawRequest` | |||
***`bundle.rawRequest` is only available in the `perform` for web hooks and `getAccessToken` for oauth authentication methods*** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might do >
blockquote? Just a nit, don't really mind either way. /shrug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree > looks better. I'd copied the formatting from the end of the bundle meta. So I've changed that too
Adding documentation of
cleanedRequest
andrawRequest
as created in PR zapier/zapier#16747