HTTP Method
#2022
Replies: 1 comment
-
Same problem as you, dont know how to do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When following your tutorial "Data Management", I check the route list and see this:
GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS admin/posts/{method?} App\Orchid\Screens\Post\PostListScreen@handle
As I understand, the optional parameter 'method' here is the object method defined in the screen like 'createOrUpdate' or 'remove'
My questions are:
For example I see that the button 'Delete' send a POST request to the back end with a cumbersome payload including all data of the Blog Post, can we change it to DELETE request with payload just including Blog Post id, and how?
Beta Was this translation helpful? Give feedback.
All reactions