Is it possible to create Requirement in 3.0.1 with REST?
![](http://jazz.net/_images/myphoto/43c399d43df2664799fffd26f1c910db.jpg)
Hi,
I want to programically create Requirements in RTC 3.0.1, therefor I try to create my requests in the REST Client in Firefox first.
It does not work, I get an error saying that the content is invalid rdf+xml, I do validate my rdf without getting an errors.
I just want to add dc:title and dc:description.
Does anyone have an example on how the content should look like? and what headers to use?
I want to programically create Requirements in RTC 3.0.1, therefor I try to create my requests in the REST Client in Firefox first.
It does not work, I get an error saying that the content is invalid rdf+xml, I do validate my rdf without getting an errors.
I just want to add dc:title and dc:description.
Does anyone have an example on how the content should look like? and what headers to use?
2 answers
![](http://jazz.net/_images/myphoto/43c399d43df2664799fffd26f1c910db.jpg)
Hi,
I want to programically create Requirements in RTC 3.0.1, therefor I try to create my requests in the REST Client in Firefox first.
It does not work, I get an error saying that the content is invalid rdf+xml, I do validate my rdf without getting an errors.
I just want to add dc:title and dc:description.
Does anyone have an example on how the content should look like? and what headers to use?
Hi Cecilia
This sounds similar to the discussion here https://jazz.net/forums/viewtopic.php?t=17791
![](http://jazz.net/_images/myphoto/43c399d43df2664799fffd26f1c910db.jpg)
We are currently working on an update to the existing OSLC workshop on Jazz.net which will include samples and other introduction material for OSLC-RM v2.
Stay tuned. Watch for updates to this article in Jazz.net library: https://jazz.net/library/article/635
Stay tuned. Watch for updates to this article in Jazz.net library: https://jazz.net/library/article/635
Hi,
I want to programically create Requirements in RTC 3.0.1, therefor I try to create my requests in the REST Client in Firefox first.
It does not work, I get an error saying that the content is invalid rdf+xml, I do validate my rdf without getting an errors.
I just want to add dc:title and dc:description.
Does anyone have an example on how the content should look like? and what headers to use?