You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def set_payload(self, payload):
"""
Set the raw payload of this recipe
:param str payload: the payload, as a string
"""
self.data['payload'] = payload
def set_json_payload(self, payload):
"""
Set the raw payload of this recipe
:param dict payload: the payload, as a dict. The payload will be converted to a JSON string internally
"""
self.data['payload'] = json.dumps(payload)
Activity