Sending a JSON body request to patch an endpoint

  • Goal: I want to be able to construct a JSON request that has nested objects

  • Steps: tried both the raw and JSON options, but my values keep getting turned into strings

  • Details: When I select JSON I am able to use a key-value pair option.
    However, I have a nested object

Object1: {Nested Resource: value, Nested Resource: value}
Whenever I start to type in the nested object, it reads it as a string which isn't compatible for my request

this is the nested object in one of my keys
{id:{{test.data.test1}}, test2:value}

when I pass the above as a value it keeps getting converted into a string and is not recognized as an object