This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is a code sample for how to upload file to drupal services. | |
* | |
* This code sample focuses on uploading files and assumes that you are successfully autheticated. | |
*/ | |
$httpMethod = 'POST'; | |
$resourceUrl = 'http://example.com/api/file'; |