2017-11-16 24 views
0

게시 된 서식이 https://httpbin.org/anything 인 Excel 용 추가 기능을 테스트하고 있습니다. 양식은 Mac 용 Excel 2016 버전 15.39 (171010) (High Sierra ver 10.13.1)에서는 POST되지 않습니다.Mac 용 Excel 2016에서 POST가 아닌 이유는 무엇입니까?

<script type="text/javascript"> 

    //submit form 
    $("#testForm").submit(); 

</script> 

</head> 
<body> 

    <form method="POST" id="testForm" action="https://httpbin.org/anything" accept-charset="UTF-8" target="_blank"> 

    <div> 
     <input type='hidden' name='mergeDataFormat' value='csv'> 
    </div> 
    <div> 
     <input type="hidden" name="mergeData" id="mergeData" value='Name,Street,"City, State",ZIP Code'> 
    </div> 

    <input type="submit" value="Send" id="submitForm" /> 

    </form> 

응용 프로그램 도메인은 매니페스트에서 설정 한 :

GET /anything HTTP/1.1 
Host httpbin.org 
Connection keep-alive 
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 
Upgrade-Insecure-Reque 
sts 1 
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 
Accept-Encoding gzip, deflate, br 
Accept-Language en-US,en;q=0.9 
Cookie _gauges_unique_day=1; _gauges_unique_month=1; _gauges_unique_year=1; _gauges_unique=1 
HTTP/1.1 200 OK 
Server: meinheld/0.6.1 
Date: Wed, 15 Nov 2017 18:07:11 GMT 
Content-Type: application/json 
Access-Control-Allow-Origin: * 
Access-Control-Allow-Credentials: true 
X-Powered-By: Flask 
X-Processed-Time: 0.00142621994019 
Content-Length: 726 
Via: 1.1 vegur 
Connection: Keep-alive 
{ 
"args": {}, 
"data": "", 
"files": {}, 
"form": {}, 
"headers": { 
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", 
"Accept-Encoding": "gzip, deflate, br", 
"Accept-Language": "en-US,en;q=0.9", 
"Connection": "close", 
"Cookie": "_gauges_unique_day=1; _gauges_unique_month=1; _gauges_unique_year=1; _gauges_unique=1", 
"Host": "httpbin.org", 
"Upgrade-Insecure-Requests": "1", 
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36" 
}, 
"json": null, 
"method": "GET", 
"origin": "<ip-address-here>", 
"url": "https://httpbin.org/anything" 
} 

을을 누른 후 : 우리는 4.2 버전 찰스 HTTP 모니터에 표시되는 내용

<AppDomains> 
    <AppDomain>https://httpbin.org/</AppDomain> 
    ... 
</AppDomains> 

이것은 여기에 HTML 양식의 필수이다 보내기 버튼을 누르면 httpbin.org 페이지가 팝업되어 다음과 같이 표시됩니다.

{ 
"args": {}, 
"data": "", 
"files": {}, 
"form": {}, 
"headers": { 
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", 
"Accept-Encoding": "gzip, deflate, br", 
"Accept-Language": "en-US,en;q=0.9", 
"Connection": "close", 
"Cookie": "_gauges_unique_day=1; _gauges_unique_month=1; _gauges_unique_year=1; _gauges_unique=1", 
"Host": "httpbin.org", 
"Upgrade-Insecure-Requests": "1", 
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36" 
}, 
"json": null, 
"method": "GET", 
"origin": "<ip-address-here>", 
"url": "https://httpbin.org/anything" 
} 

URL에 POST가없는 것 같습니다. Excel에서 오류가 표시되지 않습니다. 양식을 Mac의 브라우저에서 동일한 URL에 성공적으로 게시 할 수 있습니다. 이 문제는 Mac 용 Excel 2016에서만 나타납니다. 동일한 코드가 Windows 용 Excel 2016 (7 및 10) 및 Excel 온라인에서 올바르게 작동합니다. 이 문제를 해결하는 데 도움이되는 통찰력이 있으면 대단히 감사하겠습니다.

관련 질문 Is the Excel add-in incompatible with Excel 2016 for Mac when using POST method for forms?

+0

우리는이 문제를 조사하고 곧 돌아온다. –

+0

Tristan으로부터 해결 방법이 있다고 알려졌다. 그걸 여기에서 나눌 수 있습니까? 감사. – RickInLosAngeles

답변

0

Mac에서 Excel 2016을 버전 16.9.0 (18011602)으로 업데이트하십시오. Mac 용 Excel 2016에서 POST 할 수 있습니다! 전체 MS 팀에게 감사드립니다.

0

이 최신이 post을 참조하십시오를 참조하십시오. 중복 된 문제인 것처럼 보입니다.

+0

우리는 2017 년 12 월 14 일에 Tristan에 의해 통보 받았습니다 : 사람들은 다른 스레드에서 당신과 약혼하고 있으며 제품 버그를 발견했습니다 (잠재적 인 해결 방법.) 해결 방법을 제공 할 수 있습니까? – RickInLosAngeles

+0

죄송합니다. 지금까지 게시하지 않았어. 거기 확인해 주시겠습니까? –