How can I deal json or xml from http request