can you give an example how the REST API work?
Thanks, but maybe it's better that i explain what i want to do...
So i use an CMS (Content management system) like Drupal 7 to make websites.
You can download it here:
https://www.drupal.org/project/drupal/releases/7.59
What i want to do is: An user sign up his account on my website and automatically his (Username) and his (Password) they are sent to GameSparks.
Also, i have discovered the Single sign-on systems.
https://en.wikipedia.org/wiki/Single_sign-on
But i don't know if the Single sign-on can work with GameSparks.
So, what is the best way to do whant i want?
Or is it impossible?
I think Drupal is able to do HTTP Posts.
Look here:
https://www.zyxware.com/articles/5019/drupal-how-to-use-drupal-http-request
It's correct?
Hi, yesterday after 4 hours... i have found this video.
Please can you see it? It's only 9 minutes.
https://drupalize.me/videos/rest-drupal-8?p=2360
This is the REST system of Drupal 8.
I want to know from you if i'm on the right way.
Because if the answer is yes then i can study these things.
Patrick, keep digging man... software development is hard, and takes time.. after while, something like this you will be able to do in your sleep.
You were closer with the first link rather than the last one. You want to CALL a rest API, meaning make POST/GET requests to it.. you don't want to CREATE your own REST API.. you want to use GameSparks.
Try watching something that explains the concepts first: https://www.youtube.com/watch?v=7YcW25PHnAA
Hi, i have found this:
https://www.drupal.org/project/http_client_manager
Here a video demostration
https://www.youtube.com/watch?v=2zITl5Ka264
Maybe this is the right way...
Please you can see this IMAGE?
I want to know only if i'am on the right direction.
I have no idea, as I have never used drupal before.
Don't confuse "setting up a REST Server", for "POSTING to a REST Server"
What you want to do is POST (and GET) to another REST Server. You already found out how to do that: https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_http_request/7.x
This topic may be more advanced for you. I would suggest taking a step back and doing all of this more slowly. Software development is hard. You can't just do everything at once from no experience. If you understand the basic concepts of programming & APIs, you will be able to read the documentation of Drupal & GameSparks and figure out what to do.
Based on your replies, my guess is that you're in over your head right now. Man, take a step back. Rome wasn't built in a day. You aren't going to make an MMO tommorow... baby steps.
Sure thanks, the important thing is that I am very motivated :D
Patrick Santoro
It's possible share the (Username) and the (Password) created from the users on my website, with GameSparks?