How do I POST from kodular with a rest api made in flask and mongoDB

I have made a very simple api that receives data through a POST method and prints it on the screen, and the api works great when I use Postman or any API client, but when I use kodular I can’t get the app to send the data in form of json. I have tried, dictionaries, joined strings and manually. But in no way can I send the data successfully

When I do the test using an API tester everything works great, but when I send data from the app the server does not receive it in json format and returns a None

My python code
python

The test

And the url (only have errors with the app)
settings

Welcome

Did you try add content-type : application/json in headers.
web.Request headers block

And
{“Pulsado”:"
+
Text box text
+
"}

Off-topic MS-DOS ! :grin: And DR-DOS :grin:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.