-
Notifications
You must be signed in to change notification settings - Fork 1
Api Domains Id Put
Carlos Badenes edited this page Mar 31, 2016
·
1 revision
Modify the domain information identified by the URI by the new one attached to the request.
PUT http://zavijava.dia.fi.upm.es:8888/api/domains/11111111-2222-3333-4444-555555555555/name
HEADER:
Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c
Content-Type: application/json
{
"name": "new-name"
}
- curl:
curl -i -X PUT -H "Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c" -d "{ 'name': 'new-name'}" http://zavijava.dia.fi.upm.es:8888/api/domains/11111111-2222-3333-4444-555555555555/name
200 OK
PUT http://zavijava.dia.fi.upm.es:8888/api/domains/11111111-2222-3333-4444-555555555555
HEADER:
Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c
Content-Type: application/json
{
"name": "Siggraph Corpus"
}
- curl:
curl -i -X PUT -H "Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c" -d "{ 'name': 'Siggraph Corpus'}" http://zavijava.dia.fi.upm.es:8888/api/domains/11111111-2222-3333-4444-555555555555
200 OK
work supported by the European Community's Seventh Framework Programme (FP7-ICT-2013-8.1) under grant agreement no: 611383. For further information please see http://DrInventor.eu