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

Why submit form values via GET instead of POST? #39

Open
anwar-fs opened this issue Dec 3, 2017 · 5 comments
Open

Why submit form values via GET instead of POST? #39

anwar-fs opened this issue Dec 3, 2017 · 5 comments

Comments

@anwar-fs
Copy link

anwar-fs commented Dec 3, 2017

This is a great project! But why does the generated UI submit form values as URL parameters instead in a GET request, instead of as form POST parameters? Is there a configuration option to make the UI use POST?

@awalterschulze
Copy link
Member

awalterschulze commented Dec 3, 2017 via email

@anwar-fs
Copy link
Author

anwar-fs commented Dec 3, 2017

Noted, and no need to apologize. I understand how other priorities can get in the way. And I'm actually glad to hear your response. This project has inspired me to consider a fork that uses go templates to provide more modularity. Not sure if I'll have time to pursue that though, or the POST functionality.

@awalterschulze
Copy link
Member

I would also recommend looking into getting the filedescriptor from a grpc method and generating the form dynamically in the javascript or your frontend language of choice. I would use Elm :)

@anwar-fs
Copy link
Author

anwar-fs commented Dec 3, 2017

Sounds like a good idea. I'm at a Typescript shop though so that would probably be my goto frontend.

@awalterschulze
Copy link
Member

fair enough :)

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

No branches or pull requests

2 participants