Receive Fetch Data
ruiwenge2

I'm using fetch in JavaScript to send some data to the server(Flask). So I did:

But how do I receive and find the value of contents:html in Flask?

You are viewing a single comment. View All
Coder100

@ruiwenge2 don't forget to also add the json header

https://stackoverflow.com/questions/20001229/how-to-get-posted-json-in-flask