You got the full URL in the main callback which you used to
initialize/run the post processor.  If needed, you can obviously put it
(and/or other information) into the closure (void *).

Happy hacking!

Christian

On 03/21/14 11:22, Kobi Cohen-Arazi wrote:
> Hello,
> 
> Is there a way to retrieve the full POST url rather than just the filename?
> 
> e.g.
> 
> If post URL is http://somehost.com/path/to/post/file.txt, I'm only
> getting "file.txt" in the callback registered with
> MHD_create_post_processor.
> Is there a way to retrieve the full url - "path/to/post/file.txt" ?
> 
> Thank you,
> - Kobi
> 
>         0
>     ----
>  _ `\ <,_
> (*) /   (*)

Reply via email to