How to get the message send from a webhook?

Kresten

I have a woocommerce site set up with a webhook to a python app I have hosted on heroku.

I can't get the message the woocommerce is sending.

The code is here below:

from flask import Flask, request

app = Flask (__name__)

@app.route('/hook/', methods=['GET','POST'])
def hook():
    print(request.get_json())
    return "200 OK"

All I need for now is somthing to show up in the heroku log but I get nothing.

Mikhail Kashkin

You need to store this message in the database or some other place and then read it and show to the user.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to get message to send from server to Android

From Java

How can I get a list of all the messages in a channel and then pick a random message from that list to send as a message?

From Dev

Use a webhook to send a message as someone else

From Dev

How to send message from Website To Telegram APP

From Dev

How to send a message from an Intent Service to an activity

From Dev

How to send message from one module to another?

From Dev

How to send message from server to client

From Dev

How to send message from widget to iOS app

From Dev

How to send a message from unificationengine to fbmessenger?

From Dev

How to get Camel Websocket component to send message upon connection from client?

From Dev

How to get Camel Websocket component to send message upon connection from client?

From Dev

how to get a message from this Json

From Dev

How do I get data from Webhook to store in a database?

From Dev

Discord.py, there is any method do edit a message send by a webhook?

From Dev

how to use socket in swift (connect, send and get message)

From Dev

How to send a success message with get_success_url() in Django FormView

From Dev

How to send a success message with get_success_url() in Django FormView

From Dev

How to send custom data through pusher webhook

From Dev

How to send a message with ping?

From Dev

How to send a message from Android to Windows using USB

From Dev

How can I send a message from one controller to another in AngularJS?

From Dev

How to send Autobahn/Twisted WAMP message from outside of protocol?

From Dev

how to send message "page will close" from browser to server?

From Dev

How to send facebook message from linux console (command-line)

From Dev

How to send message FROM Chrome extension TO Native app?

From Dev

How to send a message from XPC helper app to main application?

From Dev

How Send message from fragment to activity and received and use in activity?

From Dev

How to send/receive a message from another window/program?

From Dev

How to send message from server to client (TCP , android applications)

Related Related

  1. 1

    How to get message to send from server to Android

  2. 2

    How can I get a list of all the messages in a channel and then pick a random message from that list to send as a message?

  3. 3

    Use a webhook to send a message as someone else

  4. 4

    How to send message from Website To Telegram APP

  5. 5

    How to send a message from an Intent Service to an activity

  6. 6

    How to send message from one module to another?

  7. 7

    How to send message from server to client

  8. 8

    How to send message from widget to iOS app

  9. 9

    How to send a message from unificationengine to fbmessenger?

  10. 10

    How to get Camel Websocket component to send message upon connection from client?

  11. 11

    How to get Camel Websocket component to send message upon connection from client?

  12. 12

    how to get a message from this Json

  13. 13

    How do I get data from Webhook to store in a database?

  14. 14

    Discord.py, there is any method do edit a message send by a webhook?

  15. 15

    how to use socket in swift (connect, send and get message)

  16. 16

    How to send a success message with get_success_url() in Django FormView

  17. 17

    How to send a success message with get_success_url() in Django FormView

  18. 18

    How to send custom data through pusher webhook

  19. 19

    How to send a message with ping?

  20. 20

    How to send a message from Android to Windows using USB

  21. 21

    How can I send a message from one controller to another in AngularJS?

  22. 22

    How to send Autobahn/Twisted WAMP message from outside of protocol?

  23. 23

    how to send message "page will close" from browser to server?

  24. 24

    How to send facebook message from linux console (command-line)

  25. 25

    How to send message FROM Chrome extension TO Native app?

  26. 26

    How to send a message from XPC helper app to main application?

  27. 27

    How Send message from fragment to activity and received and use in activity?

  28. 28

    How to send/receive a message from another window/program?

  29. 29

    How to send message from server to client (TCP , android applications)

HotTag

Archive