Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API 를 만들어주세요. #6

Open
JEEN opened this issue Jul 4, 2011 · 7 comments
Open

API 를 만들어주세요. #6

JEEN opened this issue Jul 4, 2011 · 7 comments

Comments

@JEEN
Copy link

JEEN commented Jul 4, 2011

PUT upload_file

GET get_file_info

라든가..

@keedi
Copy link
Contributor

keedi commented Jul 4, 2011

어떤 프로토콜을 선호하시나요?

  • XML-RPC
  • JSON-RPC
  • REST

@ghost
Copy link

ghost commented Jul 4, 2011

이름이 뭔진 모르겠지만..

요청은 POST(or/and PUT),
결과는 JSON이면 좋겠습니다.

@yongbin
Copy link

yongbin commented Jul 4, 2011

JSON-RPC++

@ghost
Copy link

ghost commented Jul 4, 2011

따지는것 같지만 오늘 컨셉이라 ㅋㅋ

이 시스템에서 RPC라는 개념이 필요한가요?

On Monday, July 4, 2011, yongbin
[email protected]
wrote:
> JSON-RPC++
>
> --
> Reply to this email directly or view it on GitHub:
> #6 (comment)
>

@JEEN
Copy link
Author

JEEN commented Jul 4, 2011

시대는 RESTful 을 거쳐서 GRACEful 아닌가요?

@keedi
Copy link
Contributor

keedi commented Jul 4, 2011

@YuniKim RPC라고 하면 좀 거창하지만 일단 API를 어떤 프로토콜 위에서 실행할시 정도의 여부가 아닐까요? :-)

@JEEN GRACEful RFC 스펙 문서 링크 좀 부탁드립니다;;;

@ghost
Copy link

ghost commented Jul 6, 2011

막상 API를 만들려다 보니.. 별거 없습니다.

요청은 :
http://domain.com/upload 로 POST,
Filename ; ; 업로드 파일명
onetime ; 0 | 1 ; onetime 여부(1=onetime)

결과는 다운로드 link 한줄 :
http://domain.com/download/UUID

입니다.

특별히 더 필요한 기능이 있을까요?

upload utility script ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants