Hi,
I'm working on an ESB connector for Google Tasks API. I need to invoke some
API methods using HTTP POST according to the Google Tasks API specs.

e.g.
To clear a task:

POST 
https://www.googleapis.com/tasks/v1/lists/MTUxMjgwNjU3MTg0OTI4MDA5Njk6MTM2Mzk2ODY5Mzow/clear


Here the payload is empty as per the Google Tasks API reference.

when I send this request, it gives a *411 Length Required* response which
should be caused by missing content-length header.

So how can I send a POST request with an *empty payload* via *synapse
configurations* while the *content-length* is automatically set, in order
to avoid this problem?

Thank you.

-- 
Regards,

*Madhawa Bandara*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777487726*
Blog* - *classdeffound.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to