How to update / validate a schema in a file using curl

Thanks @Valdanito. That might work on a deployed version of dgraph but as it turns out the cloud instance does not actually expose those endpoints.