Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

디바이스 등록 url param에서 body로 변경 #82

@bekker

Description

@bekker

상황

(device id는 예제)
[09/Jun/2018:21:59:52 +0900] "POST /v1/user/device/abcdPiyh0O0%3AAPA91bH4W9bLOgk7gPXJP-yni2tMnMoFhWwS5RuITV6rJHiuHUm4jABy5FheUiZzZasw7uSlyepmkTXGpRGOotrLvSl0jmPulDyfs1GuDN9xmtvChrqcNmJe33cN5jsbTWtjC4MWEGja HTTP/2.0" 500 242 "-" "okhttp/2.3.0"
  • device id가 base64인줄 알았는데, 아님..!!
  • 안드로이드 클라의 okhttp의 경우, : 글자가 %3A로 인코딩됨
  • 현재는 express가 자동으로 decoding을 수행하여 잘 작동하지만
  • 장기적으로 param이 아닌 body를 사용하도록 변경해야 하는 것이 바람직

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions