Change Margin Type response is strange

When I’m trying to change margin type via “/fapi/v1/marginType” I receive error message from your server even if a query is succesfull. Watch screenshot.

scr-1

I can’t receive something like this:

array (size=2)
“code” => 200,
“msg” => “success”

What’s your full request? Please don’t use a wrapper as it’s confusing with successful msg included in error msg

You were right. This was because of the wrapper I used, now I corrected its code and it works as expected.