Current time: 12-06-2020, 01:31 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Defining custom hero via the API
05-13-2020, 11:55 PM
Post: #2
RE: Defining custom hero via the API
I figured out how to do this. The solution is to use json.dumps(), so the dict becomes:

'heroElements': json.dumps({"MWTEST":".product"})

I can confirm that this works - meaning you can define custom heroes through the API.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Defining custom hero via the API - mwoodward - 05-13-2020 11:55 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)