Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2324

Can I use gzip Content-Encoding for LP REST API requests?

$
0
0

Hi,

 

I am making a Chat related REST API call (https://dev.liveperson.net/api/account/P00001111/visit/H0000738711110664732K8391638/chat/request?v=1) to start a chat and I POST to it an XML body, as described @ https://community.liveperson.com/docs/DOC-1044.

 

When I "gzip" compress this XML HTTP request body (and also set Content-Encoding header to "gzip" on the request), it fails with the following error:

 

{"error":{"time":"2013-10-03T23:44:32.472-04:00","message":"Character conversion error: \"Unconvertible UTF-8 character beginning with 0x8b\" (line number may be too low).","internalCode":28}}

 

I wanted to know if LivePerson REST API server supports "gzip" content-encoding of the HTTP requests. Or, is there anything I am missing?

 

Regards,

Roshan


Viewing all articles
Browse latest Browse all 2324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>