Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2362

Re: How to use web services externally using CURL ?

$
0
0
by Santosh Kr.  

Well I am doing same as per your instruction, download PHP-REST/client.php and curl.php.

I have Moodle in other server with domain : '/server1/moodle

Locally I am accessing with : 'localhost/PHPREST/client.php with below code.. & I am getting result : 1

Moodle side - server1/moodle

I have created a external service - Added function 'core_user_create_users' then mapped all Users.

Next I created new token with External service name, same token I am passing in below code..

Localhost side - localhost/PHPREST/client.php


Viewing all articles
Browse latest Browse all 2362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>