Welcome Guest, Not a member yet? Register   Sign In
How to send post data in controller codeigniter

I didn't say you should not use cURL. I pointed out that the code you posted does not contain a curl_exec statement. curl_exec actually performs the cURL operation

In case you do have a curl_exec statement and just did not include it in your code when you posted, I suggested looking into using CURLOPT_VERBOSE to help you debug your code.

You may also want to look into using this: https://github.com/philsturgeon/codeigniter-curl It may no longer be actively maintained, but it should still work. At the very least, it may give you some ideas for setting up a codeigniter library to handle communication with your API.

Messages In This Thread
RE: How to send post data in controller codeigniter - by bclinton - 01-05-2015, 10:00 AM

Theme © iAndrew 2016 - Forum software by © MyBB