Git Product home page Git Product logo

Comments (2)

pirogoeth avatar pirogoeth commented on July 22, 2024

Hi there! That's a good idea -- #220 adds payload samples for store() and forward() routes. Thanks!

from documentation.

evans avatar evans commented on July 22, 2024

I found it useful to have the JSON to run against my api locally. Maybe you will too(I stripped out the content type):

json
{
   "Date": "Fri, 9 Dec 2016 13:04:51 -0600",
   "From": "Excited User <[email protected]>",
   "Message-Id": "<CABPem2N_Ucj3wRRZnLVpVF_fRjkTBXHZReZC3zY-hHsRa=T51g@samples.mailgun.com>",
   "Mime-Version": 1,
   "Subject": "Message Routes",
   "To": "[email protected]",
   "X-Envelope-From": "<[email protected]>",
   "X-Mailgun-Incoming": "Yes",
   "X-Originating-Ip": [
      "2001:xxx:xxxx:xxx::beef:93"
   ],
   "body-html": "<div dir=\"ltr\">Testing Mailgun&#39;s forwarded and stored message routes :)</div>",
   "body-plain": "Testing Mailgun's forwarded and stored message routes :)",
   "from": "Excited User <[email protected]>",
   "message-headers": [
      [
         "X-Mailgun-Incoming",
         "Yes"
      ],
      [
         "X-Envelope-From",
         "<[email protected]>"
      ],
      [
         "Mime-Version",
         "1.0"
      ],
      [
         "X-Originating-Ip",
         "[2001:xxx:xxxx:xxx::beef:93]"
      ],
      [
         "From",
         "Excited User <[email protected]>"
      ],
      [
         "Date",
         "Fri, 9 Dec 2016 13:04:51 -0600"
      ],
      [
         "Message-Id",
         "<CABPem2N_Ucj3wRRZnLVpVF_fRjkTBXHZReZC3zY-hHsRa=T51g@samples.mailgun.com>"
      ],
      [
         "Subject",
         "Message Routes"
      ],
      [
         "To",
         "[email protected]"
      ],
      [
         "Content-Type",
         "multipart/alternative; boundary=\"001a114490d2c5be3d05433e6d03\""
      ]
   ],
   "recipient": "[email protected]",
   "sender": "[email protected]",
   "signature": "17436304dd4dd094e9b8c3addb975acc6297718da468c2900dac4a43787c97596",
   "stripped-html": "<div dir=\"ltr\">Testing Mailgun&#39;s forwarded and stored message routes :)</div>",
   "stripped-signature": null,
   "stripped-text": "Testing Mailgun's forwarded and stored message routes :)",
   "subject": "Message Routes",
   "timestamp": 1481310293,
   "token": "a71d0000ed34da6768198da96f9daaf8fb98adbccfdbd2fdaf"
}

from documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.