Action and Execution work but the return is weird

Posted on
Fri Jun 26, 2015 9:01 am
gemx offline
Posts: 17
Joined: Apr 05, 2015

Action and Execution work but the return is weird

Hello,
Wher i try this command :
Code: Select all
curl -X EXECUTE http://127.0.0.1:8176/actions/test --digest -u login:password


It's work (i see in the log windows and the action is executed), but the curl commannd return "This resource can be found at <a href='http://127.0.0.1:8176/actions/test'>http://127.0.0.1:8176/actions/test</a>."


For example in the terminal :

Code: Select all
gemx:~ gemx$ curl -X EXECUTE http://127.0.0.1:8176/actions/test --digest -u login:password
This resource can be found at <a href='http://127.0.0.1:8176/actions/test'>http://127.0.0.1:8176/actions/test</a>.

Posted on
Fri Jun 26, 2015 2:40 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action and Execution work but the return is weird

Is that a problem?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 26, 2015 3:02 pm
gemx offline
Posts: 17
Joined: Apr 05, 2015

Re: Action and Execution work but the return is weird

Hello,

yes, because i don't know if the command is successful or not.

best regards,

Posted on
Fri Jun 26, 2015 6:41 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action and Execution work but the return is weird

That API doesn't return success/failure messages because an action group execution can't fail. Individual actions might eventually fail depending on what they are, but the action group doesn't know.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jul 02, 2015 4:52 am
gemx offline
Posts: 17
Joined: Apr 05, 2015

Re: Action and Execution work but the return is weird

Ok thanks.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests

cron