Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get request with minimalmetadata #20

Open
mdissel opened this issue Jan 6, 2016 · 3 comments
Open

get request with minimalmetadata #20

mdissel opened this issue Jan 6, 2016 · 3 comments

Comments

@mdissel
Copy link
Contributor

mdissel commented Jan 6, 2016

Currently GET requests are executed using
headers: {
"Accept": "application/json; odata=verbose"
},

using “accept: application/json; odata=nometadata” is much less data. See https://blogs.office.com/2014/08/13/json-light-support-rest-sharepoint-api-released/ for a comparision.

@mdissel
Copy link
Contributor Author

mdissel commented Jan 7, 2016

Just read that out of the box this will not work with SP2013 on premise. You need at least SP1 and follow the instructions in this document:
https://technet.microsoft.com/en-us/library/dn762092(v=office.15).aspx

@PauCodina
Copy link
Contributor

I Marco,
Currently, we are introducing a new SPHttp service into the library in order to centralize all server calls in one place and allow a easy configuration of further parameters.
Also we have the intention of stop using SP.RequestExecutor in the server calls and move to an standard angular $http. This is because we want to be most independent of SharePoint client library.
When we have finished this release, we will implement your request.
Thanks for your comments and contributions.

@mdissel
Copy link
Contributor Author

mdissel commented Jan 7, 2016

Nice! If you need any help just let me know!

ps. is there another repository when you do this development?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants