This topic is locked

PHPRunner's REST action=view or insert

9/21/2024 11:49:42 AM
PHPRunner General questions
M
m3 author

Hi.
I am using 10.91 and testing out PHPRunner's REST using Postman. I used the LIST action (i.e. action=list) and it returned the entire table.
http://localhost/api/v1.php?table=customers&action=list

I can even do the pagination using records, skip and search (q=).

However, it will not work for action=view or action=insert. It returns Error 500 and says "operation not supported".

It feels like I am missing something, certainly not authentication. Is there an extra security setting or something to enable for action=view or action=insert?

Many thanks in advance.

Kind regards

Admin 9/25/2024

Make sure that your API use has permissions to insert data into this database table.