Hi,
I am creating some flows in node-red to call Proxmox API to perform some backup actions.
Although I created some of them successfully to create backups and check if task of each one finished well or not, when trying to check if a task from a "sync" job finished, it always returns error to parse JSON because javascript transforms "\x3a" into ":" before call so end up failing.
Why only this type of task is using hex to overcome special characters?
I don't face this problem using curl in a linux terminal thought but I don't know how can I do it in javascript.
Rest of (UPIDs) used does not include this hex characters and works well with javascript.
Any idea how can I solve this problem? or should I created a ticket for fixing this problem?
Thank you,
I am creating some flows in node-red to call Proxmox API to perform some backup actions.
Although I created some of them successfully to create backups and check if task of each one finished well or not, when trying to check if a task from a "sync" job finished, it always returns error to parse JSON because javascript transforms "\x3a" into ":" before call so end up failing.
Why only this type of task is using hex to overcome special characters?
I don't face this problem using curl in a linux terminal thought but I don't know how can I do it in javascript.
Rest of (UPIDs) used does not include this hex characters and works well with javascript.
Any idea how can I solve this problem? or should I created a ticket for fixing this problem?
Thank you,
Attachments
Last edited: