tracker issue : CF-4205407

select a category, or use search below
(searches all categories and all time range)
Title:

CFHTTP method "GET" strips body

| View in Tracker

Status/Resolution/Reason: Open//

Reporter/Name(from Bugbase): Ben F. / ()

Created: 10/11/2019

Components: Net Protocols, HTTP

Versions: 2018

Failure Type:

Found In Build/Fixed In Build: 2018.0.05.315699 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 10 64 bit

Vote Count: 0

Problem Description:
When you execute a GET request with CFHTTP and add a body with CFHTTPPARAM, the body gets stripped and is not send with the get request.

Steps to Reproduce:
I have added a .cfm file which demonstrates the problem. I use https://httpbin.org to check what data is send by cfhttp.
If you use cURL to send a GET request to httpbi.org you can see that the data send is returned.

Actual Result:
The cfhttp strips the cfhttpparam body parameter

Expected Result:
The cfhttp leaves the cfhttpparam body parameter and sends it with the request

Any Workarounds:
None.

Attachments:

Comments: