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

More clear description of sendJSON() method #1061

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mildabre
Copy link
Contributor

@mildabre mildabre commented Nov 2, 2024

I propose describe the function of sendJSON() method more clear, in current version is written: "Příklad action-metody, která odešle data ve formátu JSON", but the data are sent not by action method, but by sendJSON() method.

Also it is important add info, that the data are both encoded into JSON and send as http response, to avoid confusing that you should pass into the method data already encoded in JSON - small difference in meaning but important!

I propose describe the function of sendJSON() method more clear, in current version is written: "Příklad action-metody, která odešle data ve formátu JSON", but the data are sent not by action method, but by sendJSON() method, also is important add info, that the data are both encoded into JSON and send as http response, to avoid confusing that you should pass into the method data already encoded in JSON - small difference in meaning but important!
@dg
Copy link
Member

dg commented Nov 2, 2024

HTTP by mělo být velkýma. Asi bych přidal i info o hlavičce contenttype

@mildabre
Copy link
Contributor Author

mildabre commented Nov 3, 2024

OK souhlas

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.

2 participants