Skip to content

Question - Page through a collection using the Microsoft Graph SDKs - v6.29.0 #2391

@ihudedi

Description

@ihudedi

When passing through collection and readding the header to requestConfigurator of PageIterator.Builder
Do I need to add the header as encoded key or not
For example readding the select header
requestInfo.addQueryParameter("%24select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"});
or
requestInfo.addQueryParameter("$select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"});

According to the documentation in
https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=java
it appeared it's needed to encode the key

Thanks,
Itay

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions