2014-07-20 9 views
1

Apigee docs을 보면 API BaaS의 저작물에 허용되는 최대 파일 크기가 표시되지 않는 것 같습니다. Apigee API BaaS에 저장된 저작물의 최대 파일 크기는 얼마입니까?

현재 나는 다음과 같은 CURL 명령을 사용하여 39메가바이트 아카이브를 POST하기 위해 노력하고있어 :

curl -X PUT -i -F name="archive" -F [email protected]"/path/to/archive.zip" "https://api.usergrid.com/{org}/{app}/archives/{uuid}" 

을 그리고 다시 던지고 :

HTTP/1.1 413 Request Entity Too Large 
Content-Type: application/json 
Content-Length: 98 
Connection: Close 

{ 
    "fault": 
    { 
     "faultstring": "Body buffer overflow", 
     "detail": 
     { 
      "errorcode": "protocol.http.TooBigBody" 
     } 
    } 
} 

답변

0

한 targetEndpoint에 request.streaming.enabled 속성을 설정하십시오 . 이렇게하면 메시지 프로세서에서 버퍼링이 생략됩니다.

참조 : http://apigee.com/docs/api-services/content/endpoint-properties-reference

참고 : 당신은 또한 당신이 더 큰 페이로드를 검색 할 때 response.streaming.enabled 설정해야합니다.

+0

이것은 무료/공유 인스턴스에서 발생하기 때문에 프록시를 직접 관리 할 수있는 권한이 없습니다. – brandonscript