Thread

Skip Navigation LinksForums > SpiraTest Forums > SpiraTest Issues & Questi... > How to create project thr...

How to create project through rest api RSS Feed

Tuesday, July 19, 2016
I want to use rest to create a project but doc doesn't define the parameters I need to send such as ownerID.
Therefore, I don't know what parameters I need to send just like below.
Image of doc is below. 
2 Replies
Jim R.Jim R.
re: Woody Wu on Tuesday, July 19, 2016
Thursday, July 21, 2016
Hi Woody

You have the right idea, but you need to actually POST either an XML or JSON document, you cannot post an HTML form set of name/value pairs, that is not a supported format type.

The documentation gives you sample XML and JSON packets.

Regards
Jim
Woody WuWoody Wu
re: Jim R. on Thursday, July 21, 2016
Thursday, July 21, 2016
It finally worked.
Thank you a lot.
Tagged
Statistics
  • Started: 7/19/2016
  • Last Reply: 7/21/2016
  • Replies: 2
  • Views: 2280
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.