I am trying to create a section via the API but I'm running into issues. I think the server is interpreting my POST request as a GET request and failing to perform the operation I am requesting.
Would somebody please provide a full example of a successful section creation request that I can reference?
API route in question: https://docs.valence.desire2learn.com/res/groups.html#post--d2l-api-lp-(version)-(orgUnitId)-sections-
Thanks in advance.
Found the solution. Postman has a setting that changes the request type to a GET request when the server issues a redirect. This is the default behaviour, so I needed to enable the "Follow original HTTP method" setting.
Hi Derik,
The following resources will be useful:
What status response/code is being returned to you?
Make sure your application has the necessary scopes, and user permissions.
Hope this helps!
Thanks @Chris.S.534. I have already looked at both of those resources and I'm still failing to get the result I'm looking for. The scopes and permissions are all accounted for.
I'm receiving the proper 200 response for the GET version of this route: https://docs.valence.desire2learn.com/res/groups.html#get--d2l-api-lp-(version)-(orgUnitId)-sections-
If you have an example of a successful POST request, that would be the most helpful.
Thanks.
Connect with our Known and Fixed Issue information to learn about improvements made to Brightspace.
Connect with leaders in pedagogy, accessibility, learning experience design and more
The Accessibility category serves as a single point of access to three avenues in Brightspace Community leading to the Accessibility Academy, Accessibility Library and Accessibility Discussions. These avenues offer courses and articles about accessibility to enhance accessibility knowledge and a group of accessibility enthusiasts to stay connected with.
Have questions about how to use Community? Stay tuned with updates, feedback opportunities and more for the Community here!
Connect with and ask questions on how to best use the Brightspace Product to transform the way your users learn!
Connect with product experts to learn more about tools frequently used by Brightspace Developers such as APIs and integrations!
Want to learn more about Brightspace Partners and Integrations? This is the place to be!
Stay up to date with product updates and announcements in this category.
Connect with our release information to learn about monthly improvements and updates to Brightspace.
Learn more about all the upskilling opportunities with courses and resources offered via the Brightspace Learning Center, Brightspace Guided Training and other training opportunities!