I'm trying to mass import products from a different platform with their custom module. It requires to have a postback URL for processing the requests from each servers. The problem now is that server that I am trying to import from connects to my postback URL and gets a "302 Found" header and thus can't continue the import proccess. I have tried fiddling with my .htaccess and Magento redirect and rewrite configuration but nothing seems to solve the problem.
Tried editing the .htaccess to stop redirects for particular URL:
https://******/postback/
Also tried to variate with Magento rewrite and redirect settings.
The expected HTTP request:
200 OK
Actual HTTP request:
302 Found
Magento version: 2.3.1, SSL enabled