Pass parameter value with space in Dreamfactory

Hi,

If I pass the parameter with space I can get only beginning substring.

For Reference:

/api/v2/service_name?user_name=dream factory

In Dreamfactory custom service get username as

$result = $event[‘request’][‘parameters’][‘comment’];
print_r($result);

Output:

dream

Note: Not getting full string! How can I fix it

@Hariharaprabu_M spaces will need to be URL encoded.

BUT

I believe this problem because I tried the service with postman simple url (not encoded) ,it works but when i paste the url that is made by ajax call …bhammm it does not work.