php - http/1.1 406 not acceptable on android app sendind data via json -


i have android app need update, send data via json , php mysql database. works ok old server, boss want data saved in our new server, , when in app try save in new server error: http/1.1 406 not acceptable think, seeing code, app can´t connect server, i´m new con android , don´t know how solve this...

thanks!!!

the resource identified request capable of generating response entities have content characteristics not acceptable according accept headers sent in request.

unless head request, response should include entity containing list of available entity characteristics , location(s) user or user agent can choose 1 appropriate. entity format specified media type given in content-type header field. depending upon format , capabilities of user agent, selection of appropriate choice may performed automatically. however, specification not define standard such automatic selection.

via http://www.w3.org/protocols/rfc2616/rfc2616-sec10.html


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -