I am having this simple POST
url to which my clients will send a POST
request.
http://mydomain.com/requests/request
POST Data:
<Request>
<OrderId>1E008921</OrderId>
<OrderName>MC1</OrderName>
</Request>
to which I respond by sending back them a XML
<SRequest>
<RequestedBy>Client 1 </RequestedBy>
<RequestName>Test Name</RequestName>
<RequestStatus>Success</RequestStatus>
<SRequest>
Now client wants the above XML in a different language (say French
)
How to handle this ? How to send the response language preference in Web API ? specially with the POST scenario like this ? (Append a language string ? or what is the best practices ?)