Closed Loganathanc closed 6 years ago
Hey @Loganathanc,
This looks good. Be advised, our main support for the DRE is now in separate repositories, for the DRE-frontend and DRE-services. I can merge this PR, but if you're looking for the most recently supported repo, I would reissue this change in amida-tech/DRE-services.
@Loganathanc merge this. please update dre services if needed.
In order to support JAVA API client, i have added new record_type. In general, multipart request type by default content-type set as 'application/octet-stream; charset=ISO-8859-1' in apache-httpclient java package. Also we do not have API without encoding value. if we specifiy content type as 'text/xml', we are getting record_type as 'text/xml; charset=utf8' and getting parsing undefined error. To resolve this issue, i have added one more record_type.
Signed-off-by: Loganathan loganathan.c@gmail.com