Basic Help
|
|
Hey, I’ve looked through this forum for help a few times and have been decently unsuccessful in finding basic help on things, so I’m here now to ask for some. I’ve never used an API before and I’m trying to use this through PHP. I’ve gotten it to the point where I can get information from all different categories and stuff, but everytime I try to post information to it (in particular, I’m trying to get it to create a new contact) I just get a “First name can’t be blank” error, so I’m assuming I simply don’t know how to write the XML string for it. Here’s the jist of what I’m doing: If someone could fill me in on any tips for fixing this up that’d be great, if you need some actual code let me know, but I figure I’m missing something simple I just don’t know about due to lack of experience. Thanks in advance for any help/tips/assistance. |
|
|
Okay, well no one got back to me over night, but through some further checking out it seems to me that HTTP_REQUEST doesn’t like to send XML and that is probably whats causing all of my errors. So, if someone could tell me this is true and tell me if there is actually a way of using this API strictly through PHP (not getting into Javascript/AJAX stuff) that’d be awesome. |
|
|
All problems solved, considering there were no responses I suppose nobody really cares about what happened and whatnot. But you can do it strictly PHP via HTTP_REQUEST, let the record show. |
|
|
I’m interested in how you did this with php |
