Skip to content

Api Relations Post

Carlos Badenes edited this page Mar 31, 2016 · 1 revision

Create Relation Instance

A new relation will be created.

Request

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

Response

202 Accepted
{
    "uri": "relations/11111111-2222-3333-4444-555555555555"
}
Clone this wiki locally