Jump to content

Ocean West

Clients
  • Posts

    3,521
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Forums

Events

Store

Gallery

Posts posted by Ocean West

  1. I use Mandrill / And SparkPost and when they send web hook for read/clicks etc the send an array 

    {
     "mandrill_events" :
      [ ]
    }

    This could be one object or many objects based on the cash they have in x minutes your receiver would iterate thru the array to handle each action. https://mailchimp.com/developer/transactional/docs/webhooks/

    (yes it is easier to handle one at a time instead of bulk actions)

    -

    There are no permissions applied to the webhook so everything is visible including email / ip / personal information;  most of the data is entirely not necessary in the payload when sending off to a third party service. In addition to being a glaring breach of privacy policy and terms of services, GDPR. I my current use case I am sending it to myself but if ever wanted to employ some third party service this would be a non-starter.

    -

    While this is being actively developed sending proper payload is critical sending as JSON would be really helpful I can't move forward with my project because the payload I receive is escaped and become invalid JSON.

    It would be nice to see some more configurations to selected the web hook perhaps being able to have a web hook log to see the data being sent and if you can visualize the payload with a JSON editor that would allow you to disable keys arrays that don't need to be sent to a given web hook. 

  2. I can confirm this issue spent some time with postman and reqestbin and send several tests:

    Ideally the method you send should just be application/json and not form-url-encoded if you must add a key to the that so that it can be properly parsed. But I would rather just receive JSON and not have to do extra decoding.

     

    617546392_ScreenShot2022-01-26at4_19_12PM.thumb.png.b63ec7e70e5ee90006a1eeca35cef005.png

  3. playing with this web hook it contains invalid JSON

    IPS\forums\Topic

    Something with the tags and missing the firstPost object key

    1382910848_ScreenShot2022-01-26at12_23_25PM.png.c2498406fbf0e277490cc65bd47f5474.png

     

    Update: it may be my receiver that is borking the code. - trying to convert from form-url-encoded to  clean json.

  4. another observation it seems that each event sends a single json object that triggers the event. I would suspect in the future that may be a limiting factor for larger or very busy sites.

    In other web hooks I've seen they would typically cache multiple events into one pay load by making it an array and once the system passes a threshold would send an array of one item or as many as a dozen items. 

     

  5. I find that the content for the web hook are rather verbose. I would be nice if we could filter and shape the content of the output. 

    I can foresee a wizard where we choose the "event"  and see a model of what is going to be sent and then pair down the objects / arrays being sent for particular web hook target url. 

    One main concern is when I sent an example it included my IP address and email that typically is a GDPR issue that a third party receiver should NOT need this data. 

  6. Just playing with receiving a web hook to another software/service, it appears the data is sent as content-type: application/x-www-form-urlencoded   I think it would be helpful to have a way to choose how to send the data because the receiving side it's impossible to unencoded it as the JSON object is entirely escaped. 

    For testing to see what comes back in the payload I am playing with https://pipedream.com/ pretty quick way to build a receiver to see what the forums is sending. 

  7. so in the app there is no editor to configure and on the front of site the editor is missing, so can't create any content. 

    had to restore configuration - lost my custom item again. 

×
×
  • Create New...