-
Notifications
You must be signed in to change notification settings - Fork 1
Api Relations Post
Carlos Badenes edited this page Mar 31, 2016
·
1 revision
A new relation will be created.
POST http://zavijava.dia.fi.upm.es:8888/api/relations/
HEADER:
Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c
Content-Type: application/json
{
"type": "associative",
"describes": "greater-than"
}
- curl:
curl -i -X POST -H "Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c" -d "{'type': 'associative','describes': 'greather-than'}" http://zavijava.dia.fi.upm.es:8888/api/relations
202 Accepted
{
"uri": "relations/11111111-2222-3333-4444-555555555555"
}
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