-
-
Notifications
You must be signed in to change notification settings - Fork 340
detecting completion of http request #208
Copy link
Copy link
Closed
Labels
Description
When issuing a command via WEBUI's terminal (e.g. G28), a response similar to the following is received.
G28
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
X:5.00 Y:5.00 Z:5.00 A:29.00 Count X:25600 Y:25600 Z:25600 A:1060572
ok
The trailing ok indicates that Homing has completed.
When issuing (e.g.) G28 via a http request (i.e.: http:\\192.xxx.xxx.xxx/command?commantText=**G28**), responses are very rarely received, which makes it difficult in some cases to issue commands in a controlled sequence. - I have tried various REST clients, web-browsers, curl and NSURLSession (in an iOS app) without success.
Could you provide any hint, how a http request should be assembled to cause a response similar to WEBUI's terminal?
BTW: http:\\192.xxx.xxx.xxx/command?commantText=**M114** beautifully responses as expected, e.g.:
X:5.00 Y:5.00 Z:5.00 A:29.00 Count X:25600 Y:25600 Z:25600 A:1060572
ok
Thank you very much in advance.
Best regards.
Reactions are currently unavailable