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 demo utility functions to the UI component #596

Open
niallthomson opened this issue Jul 16, 2024 · 1 comment
Open

Add demo utility functions to the UI component #596

niallthomson opened this issue Jul 16, 2024 · 1 comment
Assignees

Comments

@niallthomson
Copy link
Collaborator

Establish an initial set of utility functions in the UI component to enable demonstrations. The podinfo application provides lots of these.

Suggested functions:

  • GET /headers Print the heads of the inbound request
  • GET /status/{code} Return the given HTTP status code
  • GET /panic Shutdown the application with an error code
  • POST /echo Write back the payload sent to it
  • POST /store Write the payload to a file and return a hash
  • GET /store/{hash} Return the payload from the file system previously stored
@vijayjeevarajaws
Copy link

I can work on this.

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

No branches or pull requests

2 participants