Entity reference field in REST
After some research (How to POST an "entity reference" field to a node ? , REST views entity reference  issue

I found the solution, we should pass nid as target_id, final asnwer is 

postData.field_course_ref = [{'target_id': formValues.nid }];


it's work correctly, I answer my question maybe be helpful for another guy later.