Skip to content

feat: add methods to send real (local) API requests for demo#54

Merged
k3llymariee merged 4 commits intomainfrom
kelly/add-some-real-requests
Mar 21, 2024
Merged

feat: add methods to send real (local) API requests for demo#54
k3llymariee merged 4 commits intomainfrom
kelly/add-some-real-requests

Conversation

@k3llymariee
Copy link
Copy Markdown
Contributor

I thought it might be nice for our demo to actually do a bit more. Now - with the help of some hardcoded values 😅 - we can see the CLI make changes to the flag in the LD UI.

m.enabled = !m.enabled

// uncomment to send PATCH
//m.err = m.toggleFlag()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Did you mean this leave this commented out?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes because we didn't actually hardcode an auth token. i was going to uncomment it for demos but leaving it in commented for now

@k3llymariee k3llymariee merged commit 6b48414 into main Mar 21, 2024
@k3llymariee k3llymariee deleted the kelly/add-some-real-requests branch March 21, 2024 22:40
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.

3 participants