How to check id_member(I add new field) before register whit external web.

I have external web (not Druapl) this site have id_member.(This site have service for post send id_member check)
I want before register check id_member if have id_member(Drupal in put text) = id_member (external web) .
If check is true next step 2 put detail user and can register.