List Developers with special characters in email using Management API

We have some developers with special characters(#,$,% etc) in their email ids.How can we list the details of the specific developers with special characters in their email ids using the Management API ?

Solved Solved
0 1 159
1 ACCEPTED SOLUTION

You can list the details of the specific developer having special characters in the email by using URL encoding for the special character.

 

For example, if we have a developer named #dev_user@somedomain.com, then we can use the URL Encoding for the special character “#” which is %23 in the management API to list the details of that developer as shown below:


curl -u <admin_email:admin_pwd> http://<MS-IP>:<MS-PORT>/v1/organizations/<org-name>/developers/%23dev_user@somedomain.com

 

The above call lists the details of the developer #dev_user@somedomain.com.

 

Reference: Refer to URL Encoding to know the URL encoding of the other special characters.

View solution in original post

1 REPLY 1

You can list the details of the specific developer having special characters in the email by using URL encoding for the special character.

 

For example, if we have a developer named #dev_user@somedomain.com, then we can use the URL Encoding for the special character “#” which is %23 in the management API to list the details of that developer as shown below:


curl -u <admin_email:admin_pwd> http://<MS-IP>:<MS-PORT>/v1/organizations/<org-name>/developers/%23dev_user@somedomain.com

 

The above call lists the details of the developer #dev_user@somedomain.com.

 

Reference: Refer to URL Encoding to know the URL encoding of the other special characters.