Both REST and SOAP calls to webservice return nothing

Both REST and SOAP calls to webservice return nothing

by Eric Strom -
Number of replies: 0

Hello, I'm having a bit of an issue with getting my requests to work with web services. I've created a custom service that has core_user_create_users function in the admin area, have the token and everything, but the request returns nothing. I'm using the demo code for clients from https://github.com/moodlehq/sample-ws-clients but am having no luck. All I'm trying to do is create a user, which is what it looks like the sample web service clients (REST and SOAP) are doing as well. From what I can tell, the user that I'm using the access token for has the proper capabilities in Moodle (create user, update user, delete user as well as a few others for good measure). My biggest problem is that I'm just getting an empty string from the calls, no errors or anything, and I'm not sure which direction to start looking. Any direction or help you might be able to provide would be amazing. Thanks!

Average of ratings: -