Hi. I have made a simple Django API for post request. I want a functionality in which when I send a post request from rapidapi or postman or swagger through the Django, n8n should fetch the data and then check various conditions based on that data. What should I do?
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
I used webhook, but I am not getting any data when I send a post request from Django api…suppose I need age values for executing other nodes (based on some conditions), I am not getting it through webhook, if I send POST from api. I am not receiving any data in body when I hit api from rapidapi.
It worked once I changed the url to send the post request to the url of the n8n webhook…I was thinking is there any way if we send post request in the url endpoint we made in our django app and that eventually be transferred to the n8n…
There is no magic between services. If you are calling one service from within another, n8n won’t know about that.
If you want the n8n to know that there is something it should work with, your design must include the n8n.
E.g. you calls the n8n webhook from Postman/curl/whatever, then n8n process the payload according to the body and your workflow design and then it fetches something from the Django API, and finally send the response from the Django back to the client.