POST/시스템/세션/파일
는 다중/폼 데이터 저장 일시적으로 인코딩 된 파일을 승인 (그들은 단지 현재 세션에서 사용할 수있다). 각 파일은 고유 한 ID와 기본 통계를 얻습니다. 문자 수 (공백 포함/제외), 단어, 라인, 페이지. 파일에 대한 샘플 HTML 양식
<form id="upload" action="baseURL/system/session/files" method="post" enctype="multipart/form-data">
<label>Select a file:</label>
<input type="file" name="file" size="45"></input>
<input type="submit" value="Upload"></input>
</form>
당신은 또한 응용 프로그램/x-www-form-urlencoded로 인코딩 된 매개 변수의 컨텐츠에 할당 된 일반 텍스트를 보낼 수 있습니다 업로드 할 수 있습니다. 이러한 텍스트는 업로드 된 파일로 저장됩니다.
<form id="sourceText" action="baseUrl/system/session/files" method="post" enctype="application/x-www-form-urlencoded">
<label>Source text:</label>
<textarea name="content" rows="5" columns="40"></textarea>
<input type="submit" value="Save"></input>
</form>
업로드 된 파일이 요청을 인용 부착 할 수 업로드 또는 사용자의 프로필을 업데이트하는 동안 텍스트를 보내는 샘플 HTML 양식.