You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Udara Liyanage <ud...@wso2.com> on 2014/04/07 09:13:46 UTC

REST API is http or https

Hi,

According to [1], endpoint is http. Is it http or should it be https.

curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin *http*:
//<SM_HOST>:9443/stratos/admin/policy/deployment


[1]
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Listing+Deployment+Policies

-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: REST API is http or https

Posted by Pradeep Fernando <pr...@gmail.com>.
I think we have to close the http port/redirect..




On Mon, Apr 7, 2014 at 2:05 PM, Praneesha Chandrasiri <pr...@wso2.com>wrote:

> Hi Manula,
>
> Thanks for the comment.
>
> I corrected it in the docs.
>
>
> On Mon, Apr 7, 2014 at 1:50 PM, Manula Chathurika Thantriwatte <
> manulac@wso2.com> wrote:
>
>> Hi,
>>
>> This should be https. If http then the port should be changed.
>>
>>
>> On Mon, Apr 7, 2014 at 1:20 PM, Praneesha Chandrasiri <praneesha@wso2.com
>> > wrote:
>>
>>> Hi Udara,
>>>
>>> Thanks for pointing this!
>>>
>>> I've corrected it.
>>>
>>>
>>> On Mon, Apr 7, 2014 at 12:43 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> According to [1], endpoint is http. Is it http or should it be https.
>>>>
>>>> curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin
>>>> *http*://<SM_HOST>:9443/stratos/admin/policy/deployment
>>>>
>>>>
>>>> [1]
>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Listing+Deployment+Policies
>>>>
>>>> --
>>>>
>>>> Udara Liyanage
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> web: http://udaraliyanage.wordpress.com
>>>> phone: +94 71 443 6897
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Best Regards,
>>> *Praneesha Chandrasiri*
>>> *Technical Writer*
>>> *WSO2 Inc. *
>>> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
>>> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>>>
>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>
>
> --
> Thanks & Best Regards,
> *Praneesha Chandrasiri*
> *Technical Writer*
> *WSO2 Inc. *
> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>
>


-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

Re: REST API is http or https

Posted by Praneesha Chandrasiri <pr...@wso2.com>.
Hi Manula,

Thanks for the comment.

I corrected it in the docs.


On Mon, Apr 7, 2014 at 1:50 PM, Manula Chathurika Thantriwatte <
manulac@wso2.com> wrote:

> Hi,
>
> This should be https. If http then the port should be changed.
>
>
> On Mon, Apr 7, 2014 at 1:20 PM, Praneesha Chandrasiri <pr...@wso2.com>wrote:
>
>> Hi Udara,
>>
>> Thanks for pointing this!
>>
>> I've corrected it.
>>
>>
>> On Mon, Apr 7, 2014 at 12:43 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> According to [1], endpoint is http. Is it http or should it be https.
>>>
>>> curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin
>>> *http*://<SM_HOST>:9443/stratos/admin/policy/deployment
>>>
>>>
>>> [1]
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Listing+Deployment+Policies
>>>
>>> --
>>>
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>>
>> --
>> Thanks & Best Regards,
>> *Praneesha Chandrasiri*
>> *Technical Writer*
>> *WSO2 Inc. *
>> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
>> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>>
>>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manulac@wso2.com / manula@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
Thanks & Best Regards,
*Praneesha Chandrasiri*
*Technical Writer*
*WSO2 Inc. *
*Mobile: +(94) 718156888*
*E-mail: praneesha@wso2.com <pr...@wso2.com>*

Re: REST API is http or https

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi,

This should be https. If http then the port should be changed.


On Mon, Apr 7, 2014 at 1:20 PM, Praneesha Chandrasiri <pr...@wso2.com>wrote:

> Hi Udara,
>
> Thanks for pointing this!
>
> I've corrected it.
>
>
> On Mon, Apr 7, 2014 at 12:43 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> According to [1], endpoint is http. Is it http or should it be https.
>>
>> curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin
>> *http*://<SM_HOST>:9443/stratos/admin/policy/deployment
>>
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Listing+Deployment+Policies
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> Thanks & Best Regards,
> *Praneesha Chandrasiri*
> *Technical Writer*
> *WSO2 Inc. *
> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: REST API is http or https

Posted by Praneesha Chandrasiri <pr...@wso2.com>.
Hi Udara,

Thanks for pointing this!

I've corrected it.


On Mon, Apr 7, 2014 at 12:43 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> According to [1], endpoint is http. Is it http or should it be https.
>
> curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin
> *http*://<SM_HOST>:9443/stratos/admin/policy/deployment
>
>
> [1]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Listing+Deployment+Policies
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Thanks & Best Regards,
*Praneesha Chandrasiri*
*Technical Writer*
*WSO2 Inc. *
*Mobile: +(94) 718156888*
*E-mail: praneesha@wso2.com <pr...@wso2.com>*