Hi All,

I'm trying to create a simple REST api to get user details providing the
email.
But once I add an email (with @ sign), REST API returns with 404 error.

Eg:
http://localhost:8290/root/getUserEmail/damithsj works fine
http://localhost:8290/root/getUserEmail/[email protected]   404 error :|

I'm playing with   Integration Studio 6.5.0

Can you point me in the right direction?

My sample API is given as below.

<?xml version="1.0" encoding="UTF-8"?>
<api context="/root" name="testemail" xmlns="http://ws.apache.org/ns/synapse
">
    <resource methods="GET" uri-template="/getUserEmail/{email}">
        <inSequence>
            <property description="reademail"
expression="get-property('uri.var.email')" name="email" scope="default"
type="STRING"/>
            <log description="log" level="custom">
                <property expression="$ctx:email" name="email"/>
            </log>
            <respond description="respond"/>
        </inSequence>
        <outSequence/>
        <faultSequence/>
    </resource>
</api>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to