You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-08-28 23:59:30

lexcorp
Member
Registered: 2014-09-17
Posts: 64

HTTP request failed! HTTP/1.1 406 Not Acceptable

I'm test plugin web services, I recieve this message when call glpi.doLogin method:

Warning: file_get_contents(http://myhost.mx/plugins/webservices/xmlrpc.php): failed to open stream: HTTP request failed! HTTP/1.1 406 Not Acceptable in

C:\Users\Administrador\Documents\Visual Studio 2017\Projects\CallWebServices\CallWebServices\createTicket.php on line 104

Offline

#2 2017-08-29 12:41:16

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: HTTP request failed! HTTP/1.1 406 Not Acceptable

What are your parameters to doLogin?
What is the line 104 in createTicket.php?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB