<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate_config(namespace, workspace, cnamespace, config):
 """Get syntax validation for a configuration. Args: namespace (str):
 project to which workspace belongs workspace (str):
 Workspace name cnamespace (str):
 Configuration namespace config (str):
 Configuration name Swagger: https://api.firecloud.org/#!/Method_Configurations/validate_method_configuration """

    uri = "workspaces/{0}/{1}/method_configs/{2}/{3}/validate".format(namespace,
                                                    workspace, cnamespace, config)
    return __get(uri)