Hi, Are you sending the correct Content-Type in the request header? Here’s a link that might help you: http://docs.brightcove.com/en/video-cloud/player-management/guides/postman.html <http://docs.brightcove.com/en/video-cloud/player-management/guides/postman.html> and the Drill REST API doc: https://docs.google.com/document/d/1mRsuWk4Dpt6ts-jQ6ke3bB30PIwanRiCPfGxRwZEQME/edit <https://docs.google.com/document/d/1mRsuWk4Dpt6ts-jQ6ke3bB30PIwanRiCPfGxRwZEQME/edit>
Thank you, Sudheesh > On Jun 18, 2015, at 4:17 AM, Nayan Paul <[email protected]> wrote: > > Hi I have integrated drill on Cloudera cluster and have a hbase table that > I have to access through REST from PHP. > > I can query my hbase table from apache drill query editor , but when I use > Postman to test json response from the request then i get 415 internet error > > response from Postman > > > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> > <title>Error 415 Unsupported Media Type</title> > </head> > <body><h2>HTTP ERROR 415</h2> > <p>Problem accessing /query.json. Reason: > <pre> Unsupported Media Type</pre></p><hr><i><small>Powered by > Jetty://</small></i><hr/> > > </body> > </html> > > Regards, > > ___________________________________________________________________________ > > > Nayan Paul | Phone No: +91-9831814333 | email: [email protected]
