marmelab / ng-admin

Add an AngularJS admin GUI to any RESTful API
http://ng-admin-book.marmelab.com/
MIT License
3.95k stars 728 forks source link

retrieveMethod('post') not working #1355

Open SankySyS opened 7 years ago

SankySyS commented 7 years ago

Hi!

I tried to change 'GET' to 'POST' for 'getList' operation using next code:

var error = nga.entity('error');
    error.retrieveMethod('post');

    error.listView().fields([
        nga.field('ID'),
        nga.field('Message'),
        nga.field('StackTrace'),
        nga.field('PlaceID')
    ]);

But it is not work.

I see that this functionality implemented:

https://github.com/marmelab/ng-admin/issues/1025 https://github.com/marmelab/ng-admin/pull/555

Maybe i missed something or doing this wrong. Or maybe it is not working.