I have DFV2 connected to an external MySQL as a service so I can do a lot with API calls. But I want to add the user account both internally (so as to get the security features of DF) and externally so I can add more fields such as profile and chat logs. The solution I believe is a post POST script on user registration that adds the user to the external MySQL. I would like to do it in PHP.
According to https://github.com/dreamfactorysoftware/dsp-core/wiki/API-Access-via-Scripts the format is this
platform.api.get( “service[/resource[/resource_id]]”[, payload] );