PATCH and PUT Request Does not Working with form-data

后端 未结 7 1211
陌清茗
陌清茗 2020-12-16 10:12

I am using Laravel to create a RESTFUL application and I test the application with Postman. Currently, there is an issue for PATCH or PUT if the da

7条回答
  •  我在风中等你
    2020-12-16 10:53

    I learnt how to solve it here on this post and I'd like to share what did I do.

    The following image is how I setup the Postman to send a HTTP POST request and go into PUT Request and make it receive my files.

    I'm not sure whether it is the right way to do a RESTFul API. But it works fine

提交回复
热议问题