allow custom data type while sending a request.#95
allow custom data type while sending a request.#95ellen2212 wants to merge 1 commit intoStefH:masterfrom
Conversation
|
So ... I saw this PR. I think it's a very strange solution. If I right understand, you want to send custom data on Post and get another type of data? |
|
Yes.we just want to send a request with content-type: 'application/json'.not 'Content-Type: text/plain'.Is it strange? |
|
Because in your PR you don't change the logic. Early was: |
I think the developers can redefine the extractRequestDataFormat by extends ODataConfiguration.like configure the baseUrl,defaultRequestOptions and so on.The developers can configure the baseUrl, extractQueryResultData(), even getEntityUri(). I think it is a great way to configure requestBody like this.@Sir-J |
I think it is better for developer to allow custom data type while sending a request.
so could you merge it and release. what do your think? @StefH @Sir-J