I am trying to format a request payload to be an array of objects, but it appears that the payload HTTP method defaults to formatting it as a hash such as {
email: "exampleemail",
name: "John Jacob Jingleheimer Schmidt"
}However, it needs to be e...
Found a solution to this - quite silly now that I think about it.Since the payload method does not support an array as an argument, I looked at the SDK Reference > HTTP Methods docs yet again, and realized that I could also pass arguments directly wi...
I tried enveloping the hash in an array in the following manner:request_payload = {"data" => {"email" => "exampleemail", "name" => "John Jacob Jingleheimer Schmidt"}}
arrayed_req_payload = [request_payload['data']]
post(url).payload(arrayed_req_pay...