You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api-platform/core: ^3.0
I want to upload images through object mapping, but I find that only images can be uploaded, and the mapping cannot be updated to your content or changed. Because the PUT method does not support uploading images, I can find a way to make the POST method have two routes to upload images. When I look up the content in the operations section, I find that there is a sub route that can be set, but when I set it as described in the tutorial, and then upload files to this sub route, The error message that the route does not exist is displayed. How should the sub route be set to take effect?
My few
When I use the default route POST, I can create Slider and MediaObject, but I cannot update any information.
When I use/sliders/{id}/image or any custom uri template route with id, I can update the information of the slider or MediaObject, but I cannot create new objects.
When the route is set to the itemUriTemplate, it does not work. The php bin/console debug: route does not display the route set by the itemUriTemplate
The text was updated successfully, but these errors were encountered:
api-platform/core: ^3.0
I want to upload images through object mapping, but I find that only images can be uploaded, and the mapping cannot be updated to your content or changed. Because the PUT method does not support uploading images, I can find a way to make the POST method have two routes to upload images. When I look up the content in the operations section, I find that there is a sub route that can be set, but when I set it as described in the tutorial, and then upload files to this sub route, The error message that the route does not exist is displayed. How should the sub route be set to take effect?
My few
the Slider file is
When I use the default route POST, I can create Slider and MediaObject, but I cannot update any information.
When I use/sliders/{id}/image or any custom uri template route with id, I can update the information of the slider or MediaObject, but I cannot create new objects.
When the route is set to the itemUriTemplate, it does not work. The php bin/console debug: route does not display the route set by the itemUriTemplate
The text was updated successfully, but these errors were encountered: