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

Add support for Google App Script (UrlFetchApp) #449

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

rayliuca
Copy link

Added support for Google Apps Script's UrlFetchApp class as per #447

Google documentation:
https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app

@rayliuca
Copy link
Author

My implementation is based on the javascript-xhr code generator, but do note that the UrlFetchApp class is non-existent on Node.js so it is impossible to run the Newman tests. I adapted the unit tests from the xhr variant and manually tested the generated codes on GAS to make sure it has most of the common functionalities.

Sample response of the post_formData.js

image

@clairefro
Copy link

Would love to see this feature added!

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

Successfully merging this pull request may close these issues.

2 participants