From 7b3bbba248c5af067e07e6d523b78a795c309c5f Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 9 May 2025 07:58:04 +0000 Subject: [김준회] ECC 응답 포맷 수정정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/api') diff --git a/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts b/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts index ae34e7b6..8a0b4b9c 100644 --- a/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts +++ b/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts @@ -101,13 +101,12 @@ export async function POST(request: NextRequest) { xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://60.101.108.100/"> - `; return new NextResponse(soapResponse, { headers: { - 'Content-Type': 'application/soap+xml; charset=utf-8', + 'Content-Type': 'text/xml; charset=utf-8', }, }); } catch (error: unknown) { @@ -127,7 +126,7 @@ export async function POST(request: NextRequest) { return new NextResponse(errorResponse, { status: 500, headers: { - 'Content-Type': 'application/soap+xml; charset=utf-8', + 'Content-Type': 'text/xml; charset=utf-8', }, }); } -- cgit v1.2.3