Answer the question
In order to leave comments, you need to log in
How to transfer data to post request as json (using SoapUI)?
Good afternoon! Please help with data transfer to POST-request as Json!
I need to transfer data to a post request. Post request must have content-type = multipart/form-data. From one request, I get the mediaId I need and try to insert it into another Post request. I just don’t know how to insert the following json structure into the mediaIds parameter:
[
{
"mediaId": "4e2c056931d398831128ad2c6a45ec91",
"type": 1
}
]
Now, instead of this, I simply pass "4e2c056931d398831128ad2c6a45ec91".
I need to somehow add the type, and what it is equal to. I ask myself. It turns out that I need to pass the second static parameter to mediaIds in the target request. Can this be done through Property Expansion and how? And if just through request?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question