After battling for more than 5 hours and getting no way, I don't know who to ask so I am back here with more question.
So, I then test out this end point, just like other end points in Postman using Post.
As the postman image is really quite unreadable, so I am reproducing it in text as follows:
and the error code is:
I hope someone can tell me what went wrong ? I have re-checked the path and re-read every line and comparing to the other controller end point that has the same create method but just can't find what is wrong....
I suspect it has to do with Spring internal wiring I don't know that for User it is particular sensitive.
Really, hope someone can point out what mistake cos I don't know how I will be viewed by my boss who already condemned me...this is supposedly a simple end point but it turns out exceedingly difficult for me...