RestService must be done through SSL protocol. #4

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

.../teamsite') must be requested with SSL protocol var client = new SP.RestService('https://oxida.sharepoint.com/teamsite'), SPO works with HTTPS authentication. ;)

@crsuarez crsuarez The service var client = new SP.RestService('http://oxida.sharepoint.…
…com/teamsite') must be requested with SSL protocol var client = new SP.RestService('https://oxida.sharepoint.com/teamsite'), SPO works with HTTPS authentication. ;)
3f1d68f
Owner
lstak commented Jun 19, 2012

P accounts in SPO use http, E accounts use https.

The example/testing was done with a P account

The code supports both http and https

tnx. lstak I was wondering if you have some sample code for uploading attachments (like pdfs) to list-elements in sharepoint online. I'm stuck with this.

Owner
lstak commented Jun 19, 2012

no, you will need to use SP copy web service for that.

@lstak lstak closed this Jun 19, 2012

ok, thanks again. finally I make it work by using WebServices. Lists.asmx, authentication with ur token generation algorithm (I recoded it with java).

Owner
lstak commented Jun 26, 2012

Great!. Thanks for letting us know

Finally I put my solution here in github: https://github.com/ingcarlos/Office365Connection

Owner
lstak commented Jul 16, 2012

Thanks for your follow-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment