How to Implement API Commands in PHP!!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
semmal
Forum Newbie
Posts: 6
Joined: Mon Jun 29, 2009 1:45 am

How to Implement API Commands in PHP!!!

Post by semmal »

Hi,

I like to implement API commands in PHP code and then pass values to the server in XML using HTTPSPOST.

Can anyone plz help!...................
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: How to Implement API Commands in PHP!!!

Post by requinix »

Be more specific. Contrary to popular opinion we are not psychic here.
semmal
Forum Newbie
Posts: 6
Joined: Mon Jun 29, 2009 1:45 am

Re: How to Implement API Commands in PHP!!!

Post by semmal »

Plz tell me how to implement an API Command in a PHP Code!
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: How to Implement API Commands in PHP!!!

Post by onion2k »

That's actually less specific than your opening post. You need to explain what you want to do in more detail. What sort of API are you making? What code have you written so far? Is there a requirement for security? Rate limiting? API Keys? And so on..
semmal
Forum Newbie
Posts: 6
Joined: Mon Jun 29, 2009 1:45 am

Re: How to Implement API Commands in PHP!!!

Post by semmal »

Sir,

I have to create a Client API for posting Resumes to the postingengine. I have to get the Resume values as input from the user or from the database and must post the values in XML using HTTPSPOST using PHP. I have been the Client API Information already available in a website. In this new Client API, I have to use the same API Commands used in another website.

Presently, I have written the PHP code for passing the values in XML without using any API Commands. But, I get an error message as "BAD REQUEST".

Plz help me...........
Post Reply