Hi,morning guys. I want to ask anybody know to write javascript to deal with the authentication API key of the php.


My condition is like that:

1. i will provide the key to other site owner which already registed at my website.
2. then i want to write a javascript to call with the API authentication method
3. my question is how to write the javascipt code to call the authentication method which is located at my php server(note:must authenticate the API key first before allow to access to other function of the API?

Thanks in advance if any expert can help me solve the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.