CodeIgniter Forums

Full Version: Issue, requested action not allowed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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