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

Console should not require "body" in the form for http requests #1863

Closed
wesbillman opened this issue Jun 24, 2024 · 0 comments · Fixed by #1943
Closed

Console should not require "body" in the form for http requests #1863

wesbillman opened this issue Jun 24, 2024 · 0 comments · Fixed by #1943
Assignees
Labels

Comments

@wesbillman
Copy link
Collaborator

type EchoRequest = builtin.HttpRequest[builtin.Empty]

type Message struct {
	Message string `json:"message"`
}
type EchoResponse = builtin.HttpResponse[Message, ftl.Unit]

Will show the raw body etc. in the console instead of having the root be the body. This should work given that Headers are on their own tab.

So the Body tab for a http ingress should just be the ... body of the request.

{}
@github-actions github-actions bot added the triage Issue needs triaging label Jun 24, 2024
@ftl-robot ftl-robot mentioned this issue Jun 24, 2024
@wesbillman wesbillman changed the title Console not adding body by default with this code Console should not require "body" in the form for http requests Jun 25, 2024
@matt2e matt2e added next Work that will be be picked up next P1 and removed triage Issue needs triaging labels Jul 1, 2024
@wesbillman wesbillman self-assigned this Jul 2, 2024
@github-actions github-actions bot removed the next Work that will be be picked up next label Jul 2, 2024
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 a pull request may close this issue.

2 participants