christophknabe / spring-ddd-bank

A sample project following Domain Driven Design with Spring Data JPA
GNU Lesser General Public License v2.1
512 stars 125 forks source link

Find way to set Locale for REST requests in REST client as Postman/HttpRequester #6

Open christophknabe opened 6 years ago

christophknabe commented 6 years ago

In an experiment the Locale of the WebRequest in a RestController was english or empty, although the Locale of the operating system, Postman was run on, was German. Experiment with the Accept-Language header did not work. We should find out, what is the prefered and working way to pass the Locale from Postman to the RestController.