Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSON String in POST/PUT request with RestFuse  RSS feed

 
Vani Kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i POST JSON string into POST/PUT request method using RestFuse?

@HttpTest( method = Method.POST, path = "/" )
public void postStocks() {
assertOk( response );
}

with JSON string as
e.g.,



I can't use content in @HTTPTest (can't use JSON string in content).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!