Hello all,
I'm trying to create a test case using the Requests library.
The issue I ran into is that I'm communicating with an API that expects to receive data in JSON format. What I thought about doing is to have a Python dict in a module for easy editing and whatnot.
Now, in my code, I loaded this module via the Variables keyword, and used it in my test case as such:
${resp} Post Request api ${V1_ROOT}/auth/signup data=${VALID_USER} headers=${APPLICATIONJSON}
That ${VALID_USER} variable is picked up just fine, but what the keyword "Post Request" does, is to convert this dict into a urlencoded string. I need it to send it over as-is.
Sniffing traffic with Wireshark, shows me this:

URL encoded data
And I need this:

Raw dict
(request sent with Postman)
Is there something I'm missing here?
Thanks a lot!