Django / App Platform / Trusted Source

Hey Everyone,

I have deployed my Django application to app platform ( using GITHub). One of my app/url accepts POST request. When I am try to make the post request from external site ( for example: jsfiddle for now since I am developing ), its refused to connect. Which is expected since the site is not set as a trusted site anywhere.

Tried searching where to add the Trusted Site/Source such that the POST calls are allowed from same, didn’t found any related discussion/documentation as of yet. Please can anyone point me in a correct direction.

Thanks & appreciate everyone’s time to read this!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Have you tried adding the hostname in question to your Django ALLOWED_HOSTS list specified in the file?

Best, Bobby