Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created August 31, 2015 23:02
Show Gist options
  • Select an option

  • Save boomtrain-support/a393ea50a647e508759f to your computer and use it in GitHub Desktop.

Select an option

Save boomtrain-support/a393ea50a647e508759f to your computer and use it in GitHub Desktop.
PUT /resources/:model/:id - Update an existing Resource with the specified model type and ID using cURL
curl -u {username}:{password}
-H 'x-app-id: {app_id}'
-X PUT
-H 'Content-Type: application-json'
-d '{
"title": "{The Title of the Resource}",
"thumbnail": "{URL of the Hosted Image}",
...
}'
'https://api.boomtrain.com/resources/{model}/{id}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment