Shen Wang
08/24/2023, 2:00 PMhere is the response message: {"Value":null,"Status":1,"Message":"An error occurred while attempting to save the attachment."} Header HTTP/1.1 200 OK Cache-Control: max-age=0,no-cache,no-store,post-check=0,pre-check=0 Content-Type: application/json; charset=utf-8 Expires: Mon, 26 Jul 1997 05:00:00 GMT Vary: Content-Encoding Server: Microsoft-IIS/10.0 Set-Cookie: stl=1gy2ipo2jfdlbwxg40tgmthr; path=/; HttpOnly; SameSite=Lax X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Frame-Options: sameorigin Date: Tue, 22 Aug 2023 17:28:51 GMT
Code: Cfhttp(URL="#endUrl#", method="POST", multipart="yes", result="local.apiResponse")
{
cfhttpparam(type="header", name="Access-Control-Allow-Origin", value="*");
cfhttpparam(type="header", name="Access-Control-Allow-Methods", value="POST, GET, OPTIONS, PUT");
cfhttpparam(type="header",name="file",value="#documentsData.file#");
cfhttpparam(type="FormField", name="Filename", value="#documentsData.file#");
cfhttpparam(type="File", name="#documentsData.file#", file="#fileuploaded#");
}Adam Cameron
Scott Bennett
08/24/2023, 2:33 PMScott Bennett
08/24/2023, 2:38 PMScott Bennett
08/24/2023, 2:40 PMShen Wang
08/24/2023, 3:30 PMScott Bennett
08/24/2023, 4:27 PMShen Wang
08/24/2023, 4:42 PMJim Frankowski
08/24/2023, 5:22 PMShen Wang
08/24/2023, 6:19 PM