Jump to content
alfred_873

HTTP request from sell

Recommended Posts

Hi, there are 2 options:

- you can write perl function to call http method and register it as spell method (search on Broadcom community for details);

- if you don't need an output simply call curl method: 

exec("curl -X POST -d `{hello: \"world\"}` https://myapi.host.com");

The output will go to stdlog and there is no option to return it to the spell

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...