Forum Discussion

BradR's avatar
BradR
Khoros Alumni (Retired)
12 years ago
Solved

HTTP or HTTPS

http://lithosphere.lithium.com/restapi/vc/messages/id/2776?restapi.response_style=vie

what determines whether or not the view_hreffrom the above call will return HTTP or HTTPS?

  • It may be that the url is forced to https using config. Look at config.force_ssl_urls and jsp.force_ssl_urls to see what urls are currently forced for the community.

     

    Hope this helps,

     

    Yuri

4 Replies

  • BradR's avatar
    BradR
    Khoros Alumni (Retired)
    12 years ago

    Unfortunately, I have case where the call is made under HTTP and the view_href returns as HTTPS.

     

    So, it would be nice if it was just a matter of the protocol of the initial call, but that doesn't appear to be the case

  • YuriK's avatar
    YuriK
    Khoros Alumni (Retired)
    12 years ago

    It may be that the url is forced to https using config. Look at config.force_ssl_urls and jsp.force_ssl_urls to see what urls are currently forced for the community.

     

    Hope this helps,

     

    Yuri

  • BradR's avatar
    BradR
    Khoros Alumni (Retired)
    12 years ago
    Bingo!