Thank you for your response. This is a generic question related to the request and response object type in ofbiz rest API. In my understanding, the rest API currently supports the request and response object type as JSON. I've scenario where I want to return a HTML data and not JSON object. Similarly, there may be other type of object that I may receive or return. So I wanted to check if the feature to receive or return other types other than JSON is available. If it's available then a small code snippet of it's usage would be helpful to me. It would be great if I get some information on this. Thank you.
On Fri, Feb 18, 2022, 09:40 Carsten Schinzer <[email protected]> wrote: > Hello, > > > I am not really sure, your question is clear to everybody. I would wonder: > Is this a generic question? > I ask, because "application/json" indicates that a structured content with > key-value pairs (potentially matching a given schema) will be returned > while the other content types you are asking for are (content-wise) not > structured in that sense: text/html, text/plain, multipart/*. > Are you looking for something concrete here? > > Maybe it helps to describe your use case a bit more. > Warm regards > > > Carsten > > > > --- > > > Dr. Carsten Schinzer > > *Inhaber* > > > t +49 89 88569642 | f +49 89 99964059 | m +49 159 05269462 > > DCS Verkaufssysteme > > Gerner Str. 27 | 80638 München | Germany > > > Am Do., 17. Feb. 2022 um 22:55 Uhr schrieb Altafhusen Makandar < > [email protected]>: > > > Can someone please provide some information on this? > > > > On Thu, Feb 17, 2022, 10:43 Altafhusen Makandar <[email protected] > > > > wrote: > > > > > Hi, > > > > > > I am using the rest API feature of the ofbiz and I found the > > > "application/json".as the content-type. Do we have a feature for other > > > content types like text/html, text/plain, multipart/* and so on? > > > > > > Regards, > > > Altaf. > > > > > >
