>>Go to http://requestb.in/ and create a RequestBin.
A small gotcha (ran into it when initially testing out the webhooks on
http://respondto.it/ ). Retrofit adds a trailing forward slash to any URL's
defined for webhooks in the mifos platform, so entering a URL like
http://requestb.in/tc3vbctc would cause the request to be sent to
http://requestb.in/tc3vbctc/ by the mifos platform which would return a 404
on services like requestbin and respondtoit.

As a workaround, add a query parameter while defining the webhook URL in
the mifos platform. Ex: http://requestb.in/tc3vbctc? in lieu of
http://requestb.in/tc3vbctc

Regards,
Vishwas

On 1 October 2014 22:18, Markus Geiß <[email protected]> wrote:

> Hey all,
>
> hope you're doing good :D
>
> I've received some queries on how to test Hooks and I believe it's a good
> idea to share a solution to all of you.
>
> 1. Template "Web"
> Go to http://requestb.in/ and create a RequestBin. Enter your RequestBin
> URL for the "Payload URL" and add one or more actions. Once you've run your
> action click on the red dot located on the right upper corner of your
> RequestBin and verify the Headers and Body Mifos has sent.
>
> 2. Template "SMS Bridge"
> Got to https://www.twilio.com/try-twilio and create an account (it's free
> for testing purposes). Enter the Phone Number, Account ID and Account Token
> found at the Dashboard to configure the hook. Add an action (Right now only
> PORTFOLIO|CLIENT|CREATE and PRODUCT|LOAN|REPAYMENT are available). Verify
> your mobile number at Twilio. Create a client (with you mobile number) or
> place a repayment (for a client with your mobile number). That's it.
>
> Just a hint ... given DND in India it's possible that you need to clear
> your registration or you won't receive a SMS.
>
> Cheers
>
> Markus Geiss
> Senior Software Engineer | Architect
>
>
> [email protected] | http://lnkd.in/b2Ux8PJ
>
> *YAGNI likes a DRY KISS*
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> Mifos-developer mailing list
> [email protected]
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to