Skip to content

안드로이드 : volley 라이브러리 사용법 #59

@beanbug

Description

@beanbug

문제

웹 서버로(php) 라이브러리 volley를 사용해 id 값을 string 형식으로 보내고 싶습니다.

JsonObjectRequest는 url을 매개변수로 넘겨주고난 다음 칸에 보내고 싶은 jsonobject를 적어주면 되던데

StringRequest로 Requset를 만들어서 보낼때는 제가 보내고 싶은 값을 어떻게 넘겨주는지 궁금합니다.

그리고 웹 서버의 php에서 $userID = $_POST["userID"]; 로 id값을 post로 넘겨준 값을 받을때는 string 형식이나 json 형식에 상관없이 다 받을 수 있나요?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions