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

chore(docs): Add use-case for empty string baseUrl #48

Merged
merged 1 commit into from
Nov 15, 2018

Conversation

benmvp
Copy link
Contributor

@benmvp benmvp commented Nov 14, 2018

Description

It was requested in #47 to add support to .request() for full URLs because webooks returns full API urls. However instead of updating .request() a client can just set the baseUrl to empty string ('') when configuring the SDK object.

This adds docs and an example for future users.

Closes #47.

How Has This Been Tested?

n/a docs update

Screenshots (if appropriate):

n/a

Checklist:

  • I have read the CONTRIBUTING document.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • I have run yarn validate to ensure that tests, typescript and linting are all in order.

It was requested in #47 to add support to `.request()` for full URLs because [webooks](https://www.eventbrite.com/developer/v3/api_overview/webhooks/) returns full API urls. However instead of updating `.request()` a client can just set the `baseUrl` to empty string (`''`) when configuring the SDK object.

This adds docs and an example for future users.

Closes #47.
@BenAtEventbrite BenAtEventbrite merged commit dce1204 into eventbrite:master Nov 15, 2018
@ebtravis
Copy link
Collaborator

🎉 This PR is included in version 1.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Support full API url in request()
4 participants