Hi, I am trying to execute a post request( sending files using rest API). I see that when I execute the request from localhost it's giving me a status code of 200 where as when I execute the same code from another system's Localhost i am getting 502 bad gateway error. May I know what difference the two localhost gateway could have. They're of the same versions.
I am using httplib module to perform the post request.
It's probably something unique to your network, like a misconfigured proxy or firewall or some other network appliance in the middle. You'll probably need to work with your IT department.
I assumed it to be the target server's issue, but then when i try it from another laptop where I've the same version of ignition installed. I am able to send the same file from there and it's 200 again.