0

Hi I am struggling to pass direct map object form angular to spring boot .Is it possible?

My requirement is to pass Map<String,String> testMap this map from Angular6 to spring boot.

My angular code and console output: enter image description here Spring boot code and result: enter image description here

Finally I am getting angular map count is 2 and spring boot that is 0 count.Please help me

1 Answer 1

1

please refer to this link . I think map should be stringify JSON.stringify(map) before posting. How to pass a javascript (js) Map to spring boot Controller?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.