I am trying to access a webmap published by a client and shared to everyone. The data in the webmap is from ArcGIS Server 10.2 and is only available through HTTP. When I use the JavaScript API to load the web map using the portal item id, the call is made using HTTPS. This fails to load the layers, as they cannot be served via HTTPS. Is there any way to make sure the call to load the web map through the JavaScript API uses HTTP and not HTTPS?
Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.