AICC / CMI-5_Spec_Current

cmi5
http://adlnet.gov
Apache License 2.0
181 stars 91 forks source link

What is the best practice for the endpoint URL, with or without a trailing slash? #710

Closed thomasturrell closed 2 years ago

thomasturrell commented 3 years ago

I have seen AU's behave in three different ways:

The behaviour in AU's I have observed leads to three possible URL's

Is the onus on the LMS to always send an endpoint with a trailing slash (and therefore the AU doesn't add one) or for the AU handle either case?

I notice that this issue has been discussed in the xAPI spec.

brianjmiller commented 3 years ago

I think

Handles slash or no slash at the end of the endpoint URL

Is really the only workable solution and not that difficult, particularly when using libraries that are available.

MrBillMcDonald commented 2 years ago

This is an xAPI spec issue (Review per June 3, 20220 meeting)