Jump to content

calling a model in a webservice in codeigniter


ansharma

Recommended Posts

hi all,

i am new to codeigniter, i want to connect to a model by using a webservice but when i call model's method to insert data it give me error

Did not receive a '200 OK' response from remote server. (HTTP/1.0 500 Internal Server Error)

 

what should i do??

 

thanks

You can't call a model directly. You would have to make a controller or a function within one of your existing controllers to load that module in and then work the function there to do as you are trying to do by calling the module it self.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.