Skip to content

Api Parts Post

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

Create Part Instance

A new part will be created.

Request

POST http://zavijava.dia.fi.upm.es:8888/api/parts/
HEADER:
  Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c
Content-Type: application/json
{
  "sense": "method",
  "description": "description of the solution"
}
  • curl:
curl -i -X POST -H "Authorization: 70b88ce0-9cb8-23e5-62dd-0002a4d3c52c" -d "{'sense': 'method','description': 'description of the solution'}" http://zavijava.dia.fi.upm.es:8888/api/parts

Response

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