I see.. you have double content-type header in HTTP query. Remove 
this line:

ht.Headers.Add('content-type: application/json');

Maybe you need to remove Accept header too. (or repair it, because 
response can be something different then HTML...)

> i tried, exactly as you said.
> but did not worked...
> i got the same message error...



-- 
Lukas Gebauer.

http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
http://geoget.ararat.cz/ - Geocaching solution


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to