I am trying to update user info using a PUT call that is a condition of another value coming back null or not. basically using
if{value === null}
pm.sendrequest({
url: "url.com/userUpdate"
method: PUT
body: {
mode: 'raw'
raw: JSON.stringify(
{
key0: "value0"
key1: "value1"
key2: "value2"
key3: "value3"
key4: "value4"
key5: "value5"
})
}
}, function(err, response){
if(err)
throw err;
});
}
Am I doing something wrong, or does this not support PUT calls?
Thanks!