Skip to content
+1-888-319-3663

COMMUNITY FORUM

Encoding & into a REST request removes the trailing space

Ari asked 6 years ago
I’m interfacing from a home grown application to GP using the SmartConnect REST interface. I noticed that any text that has an ampersand is getting the trailing space removed. For example, if I try to export a Customer with and ID of “A & W” my application encodes it as “A & W” to pass it to SmartConnect. But when I see the Customer in GP it’s ID is “A &W”.
 
My question is, is this the expected behavior? If not, how can I fix the interface and all the IDs that are damaged in GP.
 
Thanks.

If you would like to submit an answer or comment, please sign in to the eOne portal.