2013-09-30 1 views
2

HttpGet에서 파이프 문자를 사용할 수 있습니까?HttpGet 및 파이프 처리기

나는 파이프로 구분 된 latlng 목록을 가지고 있습니다. 53.42290885462988,-1.4404749870300293|53.39965626194152,-1.4247894287109375 google distancematrix와 함께 사용하지만 파이프 문자에 잘못된 문자 오류가 표시됩니다.

답변

1
I get an illegal character error on the pipe character. 

당신은 그래서 사용 encode the | (Pipe Charcter)

필요 URLEncoder.encode("|","UTF-8");

Docs