# Test from application UI is successful but postman says bad request

**URL:** <https://community.postman.com/t/test-from-application-ui-is-successful-but-postman-says-bad-request/12385>\
**Category:** Help Hub\
**Tags:** post\
**Created:** [May 5, 2020, 3:22pm UTC](https://community.postman.com/t/test-from-application-ui-is-successful-but-postman-says-bad-request/12385 "2020-05-05T15:22:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rora](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@rora](https://community.postman.com/u/rora)\
**Post date:** [May 5, 2020, 3:22pm UTC](https://community.postman.com/t/test-from-application-ui-is-successful-but-postman-says-bad-request/12385/1 "2020-05-05T15:22:17Z")

</div>

When i test below URL from applicaton’s API test UI it works

[https://app.domain.local/app/api/rest?formatType=json&opName=userAPISubmitWorkflowServiceRequest&opData={param0:“test\_REST\_API”,param1:{“list”:[{“name”:“sample1”,“value”:“value1”},{“name”:“sample2”,“value”:"value2](https://app.domain.local/app/api/rest?formatType=json&opName=userAPISubmitWorkflowServiceRequest&opData=%7Bparam0:%22test_REST_API%22,param1:%7B%22list%22:%5B%7B%22name%22:%22sample1%22,%22value%22:%22value1%22%7D,%7B%22name%22:%22sample2%22,%22value%22:%22value2)"}]},param2:-1}

but from postman i get 400 bad request. I have tested GET request for same application and that works so in general there is no issue.

here is my configuration.

Method - POST  
Header - “X-App-Request-Key” = “KEY”

Parameters as below:

formatType = json  
opName=userAPISubmitWorkflowServiceRequest  
opData={param0:“test\_REST\_API”,param1:{“list”:[{“name”:“sample1”,“value”:“value1”},{“name”:“sample2”,“value”:“value2”}]},param2:-1}

I also tried to remove opData parameter from parameters tab and put the json data in body tab (raw-data/json)

{  
“param0”: “test\_REST\_API”,  
“param1”: {  
“list”: [{  
“name”: “sample”,  
“value”: “sample”  
}, {  
“name”: “sample”,  
“value”: “sample”  
}]  
},  
“param2”: -1  
}

then i get 200 OK but then error from application is “Malformed data in the parameter opData”

any suggestion?
