8000 Support application/json POSTs · Issue #389 · framework-one/fw1 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support application/json POSTs #389
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

Closed
seancorfield opened this issue Oct 21, 2015 · 4 comments
Closed

Support application/json POSTs #389

seancorfield opened this issue Oct 21, 2015 · 4 comments
Assignees
Milestone

Comments

@seancorfield
Copy link
Member

Requested by a couple of people (including World Singles).

Need to be able to accept Content-Type: application/json and a JSON body (which may be binary on certain CFML servers!) and unpack it into rc at the start of the request.

@seancorfield seancorfield self-assigned this Oct 21, 2015
@seancorfield seancorfield added this to the 3.6 milestone Oct 21, 2015
seancorfield added a commit that referenced this issue Oct 21, 2015
Need to enable JSON POST setting first.
@seancorfield
Copy link
Member 8000 Author

Implemented in 3.6 on develop.

@seancorfield
Copy link
Member Author

Doesn't account for charset etc in the Content-Type.

seancorfield added a commit that referenced this issue Oct 22, 2015
Forgot to listFirst() the value.
@carltonsmith
Copy link

Is there any documentation on how this works? I am testing this using the Firefox REST client and I'm showing rc as containing none of the JSON data at all? Do I need to deserialize? If so, what do I need to deserialize?

@seancorfield
Copy link
Member Author

Please don't use old, closed issues for support questions -- post on the FW/1 mailing list or join the CFML Slack and ask in the #fw1 channel there. That way your question will get in front of hundreds of folks who can help you. Thanks.

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
0