Support application/json POSTs #389

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

Comments

Projects
None yet
2 participants
@seancorfield
Member

seancorfield commented Oct 21, 2015

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

Fix #389 by supporting JSON POST
Need to enable JSON POST setting first.
@seancorfield

This comment has been minimized.

Show comment
Hide comment
@seancorfield

seancorfield Oct 21, 2015

Member

Implemented in 3.6 on develop.

Member

seancorfield commented Oct 21, 2015

Implemented in 3.6 on develop.

@seancorfield

This comment has been minimized.

Show comment
Hide comment
@seancorfield

seancorfield Oct 22, 2015

Member

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

Member

seancorfield commented Oct 22, 2015

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

seancorfield added a commit that referenced this issue Oct 22, 2015

Fix #389 by accounting for charset etc
Forgot to listFirst() the value.
@carltonsmith

This comment has been minimized.

Show comment
Hide comment
@carltonsmith

carltonsmith Dec 5, 2017

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?

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

This comment has been minimized.

Show comment
Hide comment
@seancorfield

seancorfield Dec 5, 2017

Member

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.

Member

seancorfield commented Dec 5, 2017

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