I need to open locks via ttlock api
it is expecting application/x-www-form-urlencoded format
How do i substitue dynamic values into it?
https://cnopen.ttlock.com/doc/api/v3/lock/unlock
Uncheck “Private” for the ones you want to put dynamic values in
Thank you. I can use dynamic values now, but then i get an error when i try to initialize lock opening. However with the same values it works from the api buider. Would you be able to advise me on this one? Thank you!
Maybe run the workflow with debug mode on, and make sure all the values are being filled in with the proper data. according to that error message invalid data was sent
Ive marked all as private and it does not work through the workflow. However works perfectly fine in the api builder.
I dont understand how this can be. The only idea i have is that the workflow call somehow breaks the url encoded form of the request
Ok changed type to text in api builder and all works now. Thank you!
1 Like