php - Codeigniter REST PUT method not working for form-data -
as title says there work around , using example provided in phil sturgeon rest api codeigniter.
using google chrome post man api client, when send data of foo=hello. form-data have value of bool false means null.
but when using x-www-form-urlencoded, can see value.
as trying upload image file using put method must able send via form-data.
any shed light on question appreciated.
it turns out put request not suppose work multipart/form-data , according http specs
this question duplicate of how receive file via http put php
Comments
Post a Comment