API not working!
API not working!
I was watching the developer api and i have been having problems with something. I dont really know what is going wrong with the code but when ever i try to use the two functions to post data to the api.php file. No real data is sent back it is just the help information telling what shorten and lookup do when you post them. The code will be attached below.
- Attachments
-
- public_api.zip
- (5.88 KiB) Downloaded 93 times
Re: API not working!
First thing I noticed
Try browsing to api.php and see if you see any errors or things that look wrong ?
const API_URL = 'http://192.168.1.80/projects/public_api ... te/api.php';which was the IP of my local server at the time, is this actually the URL you are using ?
Try browsing to api.php and see if you see any errors or things that look wrong ?