subicura / apist

베타기간동안 이슈관리를 위한 repository 입니다.
5 stars 0 forks source link

API URL 복사 (버튼) 기능 #40

Open nacyot opened 10 years ago

nacyot commented 10 years ago
http://localhost:3000/user/{:user_id}/post/{:post_id}/

여기서 폼까지 그대로 복사하면 ( {}이 폼 부분 )

http://localhost:3000/user//post//

이렇게 복사가 됩니다.

현재 URL 인자를 사용하는 경우 URL을 복사하고자 할 때 복사가 제대로 되지 않습니다 ㅜ 별도의 버튼을 통해서 url을 복사하는 기능이 제공되면 좋을 것 같습니다.

:user_id => 1
:post_id => 10

이면

http://localhost:3000/user/1/post/10/

이렇게 복사가 되면 좋겠습니다.

특히 GET 방식을 사용하는 경우 URL인자 외의 인자도 통합해서 복사할 수 있는 기능도 제공되면 좋을 것 같습니다.

:user_id => 1
:post_id => 10
:page => 25

이면

http://localhost:3000/user/1/post/10?page=25

이런 식으로. 감사합니다.