Hello,
I'm trying to send a external message to mrl log via API
something as:
http://localhost:8888/api/services/log/addinfo/test
but is not worky.
Is it correct statement or funcionality is possible ?
Hello,
I'm trying to send a external message to mrl log via API
something as:
http://localhost:8888/api/services/log/addinfo/test
but is not worky.
Is it correct statement or funcionality is possible ?
Hi Darek, Nice to see you
Hi Darek,
Nice to see you around again ..
It's case sensitive - your I in info needs to be capitalized :
try this :
http://localhost:8888/api/service/log/addInfo/HelloWorld
I also glad to be back and
I also glad to be back and nice to see you too.
I could not resist the new version of the mrl and new services. Good job!
Related to my post, on WEB I received:
{"msgId":1475259852965,"name":"webgui","sender":"webgui","sendingMethod":"","historyList":[],"method":"onAddInfo"}
but on log file - witchout a message:
From latest build - top left
From latest build - top left corner of the shoutbox
build 1701 - if you still have problems send a noWorky .. it Looks like your doing a POST when all you need to do is a GET ... you could do a POST, but the data is formatted differently - you can find details
here :
http://myrobotlab.org/content/myrobotlab-api
Thanks a lot - GET/POST is
Thanks a lot - GET/POST is working for 1701
Great Darek, You should be
Great Darek,
You should be able to send data to any method in MRL via REST GET OR POST
A few other URLs which might be useful :
I use Chrome json formatter to make all the json pretty - and collapsable https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfp…;
http://localhost:8888/api/services - returns all the current running services
http://localhost:8888/api/services/{name} will show you the state information of a service
http://localhost:8888/api/services/{name}/ <- notice the extra / will show you all the methods, input parameters and return types of the service in question
from that you can find a method you like and call it with parameters ...
parameters can be either more slashes .. or you can switch to POSTing..
I believe this is covered in the api reference doc - http://myrobotlab.org/content/myrobotlab-api
I'm curious what your trying to to do ... is it all working the way you want ?
Hi GroG, In the near future
Hi GroG,
Is should be worky now ...
Is should be worky now ... its a great idea
please refer to your other post for details...