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!
I'm trying to post an xml string to an external url using cURL. I'm getting a 400 Bad Request error. Can someone let me know if there's something wrong with this cURL request or if I'm missing something? Note that I was getting a connection failed error until I added the CURLOPT_PROXY line below. Now I'm getting the 400 error.
If it's an easy fix can you show me how this would alter my code? Or if I were to remove the request how would I pass my xml string variable using cURL? Thanks for the assistance!