‎2022 Feb 25 4:09 AM
Hello. I'm trying to figure out how to use post in odata so that I can create parking bill in s/4hana on-prem.
I fetched x-csrf-token by sending get request, and then tyring to make a post request which use sample xml data in the reqeust body.


My question is about how can I include xml data in atom format in java application.
I tried googling, but I can only find information about converting java object to usual xml. Not much information about how to send request body in atom+xml content type... Any suggestiongs or guidelines will be helpful. Thanks.