On Thu, 3 Oct 2013, Venkataragavan Vijayakumar wrote:
I have a HTTP server which is accepting only absolute URL path in HTTP POST request.
As was said, that's not HTTP compliant and then you're on a path toward pain and suffering.
But if you want to trick libcurl into sending an absolute path to a server you can probably do that by telling libcurl to use it as a proxy. Like when trying something like this with the command line tool:
curl -x host.example.org:80 http://host.example.org/get/the/file.html -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
