Forum Discussion

TestEnable's avatar
TestEnable
Occasional Contributor
11 years ago

Passing POST value in REST API

Hi,

We are using SoapUI for testing REST APIs.

If API requires single parameter (lets say name) for POST operation, SoapUI accepts in this format: name=testing123 but rejects in this format: {"name" : "testing123"}

If API required multiple parameter (lets say name and age) for POST operation, SoapUI rejects in this format: name=testing123,age=20 but accepts in this format: {"name" : "testing123", "age" : "20"}

Can someone help me understanding this problem.

Thanks.

1 Reply

  • nmrao's avatar
    nmrao
    Community Hero
    what is the input format accepted by application? is JSON format? Is it possible to attach project?