I think you have hit this issue:

https://github.com/marklogic/roxy/issues/758

That ticket contains a fix..

Cheers,
Geert

PS: note that using the /roxy/rewriter.xqy means you are running in Roxy hybrid 
mode. If you intend to use MarkLogic REST api only (not Roxy MVC), consider 
using the real app-type `rest`, which uses amongst others:


url-rewriter=/MarkLogic/rest-api/rewriter.xml

error-handler=/MarkLogic/rest-api/error-handler.xqy

rewrite-resolves-globally=true

From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of Rajesh Kumar <rajava...@gmail.com<mailto:rajava...@gmail.com>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Friday, April 21, 2017 at 2:49 PM
To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] Values endpoint issue in ROXY

Hi Team,

When tried ROXY framework in REST app-type by pointing url-rewriter to 
/roxy/rewriter.xqy, we are facing issues with values endpoint in GET method.

API:
/v1/values/empID?options=ems&direction=descending&limit=1&format=json

Error:
REST-UNSUPPORTEDPARAM: (err:FOER0000) Endpoint does not support query 
parameter: invalid parameters: amp;name for request

Kindly help us in resolving the issue. We are using 8.0-6.4.

Thanks & Regards,
Rajesh Kumar P
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to