How can i pass the parameter?
Hi,
Do anyone knows how can i pass the parameter to the demo API?
i put where is ACTION: "browseFolder" command and where is JSON Paylaoad: {"id": 1}
print screen: http://prntscr.com/mwugia
this information i took them from the getFolders command.
Do anyone knows how can i pass the parameter to the demo API?
i put where is ACTION: "browseFolder" command and where is JSON Paylaoad: {"id": 1}
print screen: http://prntscr.com/mwugia
this information i took them from the getFolders command.
Comments
As a trick open our gui in chrome, enable dev tools, reload and search in network for latest socket file. Check frames tab. There you see all communication going in and out. Then do the function you want to copy and see what gets send and what you would receive.
i did it but i was expecting, when i receive the answer with the pl:false to receive what the socket was excpecting, so i can transform my parameters and make the fix.
i parse all the parameter as well as the documentation asks, but i do something wrong.
If you can navigate me to find this would be perfect. Maybe is somewhere in there!
Folders are numbered and depend on the start directories you have created. Use getFolders to get a list of available folder ids.
so in general this trick can work with all the things that i want to do.
I can go to the " http://10.92.520.16:3344/ ", or whatever address the repetier running from, i can execute a command and through the web socket i can find what i exactly i have to give to the API as parameters and the way that i can do it!
So for example if i want to print something depending on an input, if i go and print a file from the working GUI i can take the command that i can use , to print a file directly from the script...
Why do you think listJobs does not work? It is the waiting queue and often it is empty. For jobs you could start that are stores you want listModels!
I am interesting to get all the files from the print page of the printer. ( http://prntscr.com/mxqu5n )
They are not into a folder or something.
i was expecting with that the list model command will return this list, but it soesn't