Re: [Dev] Unable to send payload with delete request in ESB connector

2014-10-06 Thread Udara Liyanage
Hi Vanji, Extracting from HTTP spec[1] A message-body MUST NOT be included in a request if the specification of the request method (section 5.1.1 ) does not allow sending an entity-body in requests. *A server SHOULD read and forward

Re: [Dev] Unable to send payload with delete request in ESB connector

2014-10-06 Thread Keerthika Mahendralingam
Hi Udara, For that particular request we need to send the resource id in request body as a json array. In their api method we can't send the id via url. like specified here: https://developer.spotify.com/web-api/remove-tracks-playlist/ On Tue, Oct 7, 2014 at 8:43 AM, Udara Liyanage wrote: > > Hi

Re: [Dev] Unable to send payload with delete request in ESB connector

2014-10-06 Thread Udara Liyanage
Hi, You are sending a DELETE request means to delete a particular resource from the system. You can define which resource to be deleted in url by id/name or any other identifier of the resource. Why you need to send a payload in a DELETE request? Touched, not typed. Erroneous words are a feature

Re: [Dev] Unable to send payload with delete request in ESB connector

2014-10-06 Thread Vanjikumaran Sivajothy
Yes ESB will drop the body of the DELETE request. Please refer to the previous dev mail subjected on [1]. Furthermore, spec[2] claim that "A payload within a DELETE request message has no defined semantics" [1] [Dev]moving httpcore dependency to git [2] http://tools.ietf.org/html/draft-ietf-httpbi

Re: [Dev] Unable to send payload with delete request in ESB connector

2014-09-22 Thread Firzhan Naqash
Hi, Can you attach your wired carbon log along with the synapse configuration. Regards, Firzhan On Mon, Sep 22, 2014 at 2:36 PM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > When I sent delete request with json payload I got the following message: > "Empty JSON body." > > I also trie

[Dev] Unable to send payload with delete request in ESB connector

2014-09-22 Thread Keerthika Mahendralingam
When I sent delete request with json payload I got the following message: "Empty JSON body." I also tried with the hardcoded values. But I got the same error message. -- Keerthika Mahendralingam Associate Software Engineer Mobile :+94 (0) 776 121144 keerth...@wso2.com _