无法确定文件的 MIME 类型错误仅针对 post 调用

Unable to determine MIME type of file error is getting only for post calll

我将 ColdFusion (CF) 应用程序与 Java REST API 一起使用,它们现在都在本地 运行。 CF 网络应用程序使用 API 来绘制它的一些 UI 元素。 到目前为止,我只有很少的 GET 调用和一个 POST 调用。

当我尝试进行 POST 调用时出现错误,我已将 CF 请求和响应变量写入转储。

PROPERTIES  
url http://localhost:8080/api/delivery/driverPartyProperties?access_token=6ce9a254-78e0-439c-4232-18563237cc
charset [empty string]
clientcert  [empty string]
clientcertpassword  [empty string]
columns [empty string]
delimiter   [empty string]
file    [empty string]
firstrowasheaders   [empty string]
getasbinary [empty string]
method  POST
multipart   [empty string]
multiparttype   [empty string]
name    [empty string]
password    [empty string]
path    [empty string]
port    [empty string]
proxyserver [empty string]
proxyport   [empty string]
proxyuser   [empty string]
proxypassword   [empty string]
redirect    [empty string]
resolveurl  [empty string]
result  [empty string]
textqualifier   [empty string]
throwonerror    [empty string]
timeout 5
useragent   [empty string]
username    [empty string]

回应

struct
Charset [empty string]
ErrorDetail [empty string]
Filecontent Connection Timeout
Header  [empty string]
Mimetype    Unable to determine MIME type of file.
Responseheader  
struct [empty]
Statuscode  408 Request Time-out
Text    YES

在 API 这边,我看到请求来了,也发送了响应。我是 CF 语言的新手。有人可以给我提示吗?

在解决这个问题 quite 之后,我们发现它发生在视图中的 <cftransaction> 标记中。正如我之前提到的,我们正在从 API 端点替换一些 ui 组件,我们在视图中不再需要这个 <cftransaction>。 我们曾经对数据库进行 SQL 查询并处理视图,这就是我们使用该标记的地方。 主要问题是我从请求误导中得到的错误。