Hello thanks guys. It helps to get result. Enter info into Body-raw section. And switch TXT to JSON there!
понедельник, 8 апреля 2013 г., 20:30:57 UTC+4 пользователь Stefano Tranquillini написал: > > HI all. > i've developed the api using the framework and they work pretty well with > python and request. > now i've to (i have to, if it's not clear :D) to develop the same call in > Java. > > i tried out and this is what i get: > > {"detail": "Unsupported media type 'text/plain' in request."} > > > does anyone of you know why? > > i followed this for the java part > http://www.mkyong.com/webservices/jax-rs/restful-java-client-with-jersey-client/ > > ciao > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/90566460-334d-400f-b12d-75a59d8b7b72o%40googlegroups.com.