Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

post in odata: how can I send java object?

kimkeunho
Explorer
0 Likes
675

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.

0 REPLIES 0