Capturing Master Data is performed by performing a POST to the capture API of a MasterDataServer on the following rest end point:
/rest/capture
This end point accepts both MasterData, MDD or RBAC files. There are also SOAP services for the same functionality. See the documentation in http://mdsserver-here/api/rest.capture.html on a running MDS server for details.