Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

zapier convert: Generate create code based on different scripting method combinations #181

Merged
merged 3 commits into from
Nov 14, 2017

Conversation

eliangcs
Copy link
Member

No description provided.

Copy link
Contributor

@BrunoBernardino BrunoBernardino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great @eliangcs ! We're just missing some default code that would work for when the app has no scripting.

data: JSON.stringify({
EXAMPLE: bundle.inputData.EXAMPLE
})
url: '<%= URL %>'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep the method: 'POST' here, and add body: bundle.inputData after, so we're sending data by default.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding that out! Fixed in 9a7d906.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants