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: 
<[email protected]<mailto:[email protected]>>
 on behalf of Rajesh Kumar <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Friday, April 21, 2017 at 2:49 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
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
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to