Hi,
I'am trying to catch datas from API REST only GET for the moment.
.htaccess and .htpasswd files are OK
With this URL 'http://myserver/api', i see trace in projeqtor log after authentification and i see this message :
{"error":"invalid API query", "message":"Possible values are : GET ../api/{objectClass}/{objectId} ../api/{objectClass}/all ../api/{objectClass}/filter/{filterId} ../api/{objectClass}/search/criteria1/criteria2/... (criteria as sql where clause) ../api/{objectClass}/updated/{YYYYMMDDHHMNSS}/{YYYYMMDDHHMNSS} PUT ../api/{objectClass} with data containing json description of items POST ../api/{objectClass} with data containing json description of items DELETE ../api/{objectClass} with data containing json id of items"}
But if i'am trying with this url for exemple http://myserver/api/Project/All no authentification and only this message :
"Not Found
The requested URL /api/Project/All was not found on this server."
Can you help me please ?
Br
Wisou
I'am trying to catch datas from API REST only GET for the moment.
.htaccess and .htpasswd files are OK
With this URL 'http://myserver/api', i see trace in projeqtor log after authentification and i see this message :
{"error":"invalid API query", "message":"Possible values are : GET ../api/{objectClass}/{objectId} ../api/{objectClass}/all ../api/{objectClass}/filter/{filterId} ../api/{objectClass}/search/criteria1/criteria2/... (criteria as sql where clause) ../api/{objectClass}/updated/{YYYYMMDDHHMNSS}/{YYYYMMDDHHMNSS} PUT ../api/{objectClass} with data containing json description of items POST ../api/{objectClass} with data containing json description of items DELETE ../api/{objectClass} with data containing json id of items"}
But if i'am trying with this url for exemple http://myserver/api/Project/All no authentification and only this message :
"Not Found
The requested URL /api/Project/All was not found on this server."
Can you help me please ?
Br
Wisou