Hi Manoj,

Have you tried URL encoding the ampersand, as %26, so that it is not treated as 
a URL param separator?

Regards
Gavin

Sent from Gavin's iPhone

On 7 Feb 2013, at 09:06, "manoj viswanadha" 
<[email protected]<mailto:[email protected]>> wrote:

Hi all,

I am trying to search on special characters using ML-6 Rest API. i am able to 
search on few special characters.
But when i was trying to search on "&"(ampersand) i am facing issues. i tried 
passing entity number and name also.
still i am not able to search for "&".Other reserved charecters like "<" and 
">" are working fine.

please find the below URL which i am using

http://localhost/v1/search?q=&; &collection=collection-name&format=xml

http://localhost/v1/search?q=&amp;&collection=collection-name&format=xml

please help me how to pass "&" into URL using REST API.


Thanks,
Manoj.
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to