• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfhttp header trouble

Community Beginner ,
Oct 15, 2007 Oct 15, 2007

Copy link to clipboard

Copied

Hello,

I'm trying to suppress the implied Content-Type Text/XML in the header of a cfhttp POST request.
Any help is appreciated.

Grins,
TOPICS
Advanced techniques

Views

218

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Oct 24, 2007 Oct 24, 2007
Mr Black gave me the answer.
I replaced
<cfhttpparam type="xml" name="requestTrans" value="#transInfo#">
with
<cfhttpparam type="body" value="#transInfo#">
and that resolved it.

Votes

Translate

Translate
Community Beginner ,
Oct 24, 2007 Oct 24, 2007

Copy link to clipboard

Copied

Is it possible that you may be submitting special characters in the variables you send in the request?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 24, 2007 Oct 24, 2007

Copy link to clipboard

Copied

LATEST
Mr Black gave me the answer.
I replaced
<cfhttpparam type="xml" name="requestTrans" value="#transInfo#">
with
<cfhttpparam type="body" value="#transInfo#">
and that resolved it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation