tracker issue : CF-4198363

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

REST returns "Unsupported Media Type"

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): e-domizil License Team / e-domizil License Team ()

Created: 02/24/2017

Components: REST Services

Versions: 2016

Failure Type: Non Functioning

Found In Build/Fixed In Build: Updater 3 /

Priority/Frequency: Normal / All users will encounter

Locale/System: / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description: We followed your documentation from and . But the code documented seems not working as expected and always return "Unsupported Media Type".

IĆ¢??m attaching our code example. You just need to run the index.cfm to register the webservice in CF2016. We suspect this is a bug. Could you test this and provide a fix, please?

Steps to Reproduce: See attached example

Actual Result: REST returns "Unsupported Media Type" to CFHTTP

Expected Result: That it works

Any Workarounds:


  1. February 24, 2017 00:00:00:


Problem with understanding the documentation. To make this work it need to be restargsource="Form". remote any function test1(any data restargsource="Form") httpmethod="post" { return {form: form, arguments: arguments}; }
Comment by Alexander H.
1152 | March 01, 2017 04:18:50 PM GMT