Hello 👋🏻
I was wondering if you could provide more information of what this change actually entails:
TL-42916 Enforced POST for authentication parameters when using REST webservice protocol
Previously, we had this set up as a GET request (and it used to work):
https://WWWROOT/webservice/rest/server.php?wsfunction=core_webservice_get_site_info&moodlewsrestformat=json&wstoken=EXAMPLETOKEN
From my testing, this is now returning "Invalid token - token not found" response.
I was able to get it working by switching to a POST request and including the token into the body:
```
POST /webservice/rest/server.php?wsfunction=core_enrol_get_enrolled_users&moodlewsrestformat=json&courseid=17 HTTP/1.1
Host: WWWROOT
Content-Length: 162
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryBOUNDARYSTRING
------WebKitFormBoundaryBOUNDARYSTRING
Content-Disposition: form-data; name="wstoken"
EXAMPLE TOKEN
------WebKitFormBoundaryBOUNDARYSTRING
```
Could someone clarify if this enforcement means that tokens must now always be passed via POST with the token in the body (not in the header), or if there’s another recommended approach?