110

Nimrod (beta) - Your personal notification buddy

 6 years ago
source link: https://www.nimrod-messenger.io/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Setup in less than 1 minute

Step 2 - Send your first message

With a form :

Or with code :

cURL curl -X POST -H "Content-Type: application/json" -d '{
  "api_key": "API_KEY",
  "message":"My first message"
}' "https://www.nimrod-messenger.io/api/v1/message"

jQuery

var settings = {
  "url": "https://www.nimrod-messenger.io/api/v1/message",
  "method": "POST",
  "headers": {
    "cache-control": "no-cache",
    "content-type": "application/json"
  },
  "data": JSON.stringify({
    "api_key": "YOUR API KEY",
    "message": "My First Message"
  })
};
$.ajax(settings);

Bonus step - Send image

You can also send an image URL with Nimrod :

With a form :

Or with code :

cURL curl -X POST -H "Content-Type: application/json" -d '{
  "api_key": "API_KEY",
  "message":"My First Message"
}' "https://www.nimrod-messenger.io/api/v1/message"

jQuery

var settings = {
  "url": "https://www.nimrod-messenger.io/api/v1/image",
  "method": "POST",
  "headers": {
    "cache-control": "no-cache",
    "content-type": "application/json"
  },
  "data": JSON.stringify({
    "api_key": "YOUR API KEY",
    "url": "https://media.giphy.com/media/TcdpZwYDPlWXC/giphy.gif"
  })
};
$.ajax(settings);

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK