Jump to content




just a quick question


  • You cannot reply to this topic
2 replies to this topic

#1 SpencerBeige

  • Members
  • 263 posts

Posted 11 June 2015 - 07:50 PM

im not looking for any code, but just as an example, how would you connect a website to a program? e.g. making online accounts show up in cc

#2 biggest yikes

  • Members
  • 573 posts

Posted 11 June 2015 - 08:01 PM

Depends on what you mean by "website". If you mean your own personal website, you may want to see How to create a MySQL Database Login by DannySMc (as for making online accounts). If you mean connect to a website already made (for example, a website like Twitter with a login api), the website may have an API that you can send and get HTTP requests from.
"Connecting a website to a program" would be as simple as sending an HTTP request to a website, which handles the request and sends it back. If you have a website, try using PHP to handle the request on the server side.

#3 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 11 June 2015 - 08:01 PM

You would use CC's HTTP API. It is capable of sending GET and POST request, together with custom request headers. Although it is not possible to read response headers. The server can be any server that can accept HTTP requests.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users