i have been developing a URL shortener and would now like to add the API feature in. I have played around with cURL for a while and cannot get it working.
Can firstly anyone help me to give data via GET in the URL to another website, that website will then process that GET data and then can it return a result to the website that is requesting the data.
How can this work? I only need some simple code for me to then add more functions into.
Can someone give me an example in two separate pieces, one for the requesting code and one for the processing code.
Thank you so much! Harry