ThingWorx Analytics Data > Handling Data via Analytics Microservices > Upload the Data > Upload via REST Client
  
Upload via REST Client
To upload data and metadata via a REST client, use the ThingWorx FileRepositoryThing API class. Adapt the CreateFileText method to upload data and metadata to the AnalyticsUploadStorage Thing.
For information about communicating with ThingWorx REST endpoints, see ThingWorx REST API in the ThingWorx Help Center.