Cfhttp problem with LinkedIn

I’m having a problem with CFHTTP where its force-encoding the url.

URL
is https://api.linkedin.com/v1/people/~:(id,first-name,last-name,email-address)?format=json

when LinkedIn receives the request, it looks like
https://api.linkedin.com/v1/people/~~%3A(id%2Cfirst-name%2Clast-name%2Cemail-address)?format=json

which throws an error.

Anyway to work around this bug?

Hi,

Take a look at the “encodeurl” attribute for cfhttp:
http://www.luceedocs.org/tag/cfhttp
Try setting it to false.

JohnOn Wednesday, February 25, 2015 at 11:00:34 AM UTC-5, Jeremy R. DeYoung wrote:

I’m having a problem with CFHTTP where its force-encoding the url.

URL is
https://api.linkedin.com/v1/people/~:(id,first-name,last-name,email-address)?format=json

when LinkedIn receives the request, it looks like

https://api.linkedin.com/v1/people/~~%3A(id%2Cfirst-name%2Clast-name%2Cemail-address)?format=json

which throws an error.

Anyway to work around this bug?