oslc REST API: POST requirements with images in primary text
![]()
Hi,
I'm new at the RM OSCL REST API but I've been able to create a requirement through the creationFactory. However, I would like to ask you how to POST a requirement which has an image in the artifact descrption. Do I have to previously import the image and then use the image resource link in the description of the artifact? Is it possible to do this in one step approach?´
Thanks in advance,
Luis
|
Accepted answer
One other answer
![]()
Hello Luis Silva,
Everything is a resource in the new paradigm based on OSLC and the Linked Data approach. First you would need to POST a requirement (or any other artifact type) with an attached image. Then you should add a HTML image tag into the second requirement pointing to the image. |