CodeIgniter Forums
Issue, requested action not allowed - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Issue, requested action not allowed (/thread-64604.html)



Issue, requested action not allowed - uday8486 - 03-10-2016

Hi,

We are using a CI 4 for one of our applications.

The task is simple, we need to accept posted data from external server.

We have created a controller which accepts the posted data. We have also allowed the URI from csrf_allow_url.

When we post data using curl post or http post from other form, it works fine.

But when we use a micro-controller (connected to our linux system) to send the data is not accepted.
Command which we give through the tool which uses micro-controller (command line)
POST http://example.com/test1/param?param=1&param 2&param=3

This does not work. and send page with error HTML.

Any help would be greatly appreciated.


Thanks,
Uday