Send information to rest and trigger notification

0

I'm in doubt about building a REST , not well in building, but which way to go, what approach. See my business.

1) The customer requests a discount.

2) Because the seller is not allowed to grant certain discount margins, he changes a flag from the bank to 0 (zero). At this point, you should send an information to a REST service and it will trigger a notification. The Notification code I already have. I just want to know if REST is with the verb POST or not? Usually we use POST to write to the bank and this time no, I will only use it to tell the service that it should trigger a Notification. How would that be?

What goes into the service, can be anything, type, OK or Shoot , it does not matter, what matters is that the service gets something and understands which is to trigger a PN (Push Notification)

    
asked by anonymous 09.11.2017 / 19:39

0 answers