|
coloradoderek Beginner
Joined: 07 Jan 2014 Posts: 18
|
Posted: Sat Jul 30, 2016 9:05 pm
CMUD -> API Call? |
Hello.
Can CMUD make an API call to a website?
using cURL or whatever equivilant?
I want to call a website function I've written that will notify my phone when something happens in a mud.
If it can't make an API call do you know of any other ways CMUD could cause a notification on a phone?
Thanks,
Derek Conlon |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Jul 31, 2016 12:03 am |
You can use the #URL command to open a page in a browser. For a little more control you can do some research on the OLE API for IWebBrowser2 https://msdn.microsoft.com/en-us/library/aa752127(v=vs.85).aspx and use the %comcreate and related functions to work with it.
In both cases you would probably need to attach some data into the URL by adding ?something=somedata to the end. The specific format for doing that would depend on the site you are seeking to interact with. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
coloradoderek Beginner
Joined: 07 Jan 2014 Posts: 18
|
Posted: Sun Jul 31, 2016 1:24 am |
Sweet!!
I think opening a specific page with the GET variables will do what I need it to do!
I will test but that should work!
Thanks!! |
|
|
|
|
|