• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue, requested action not allowed

#1
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
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.