I have this REST service I am writing in PHP. One of the big issues I’ve come across is the discrepancy between php://input and our old friends $_POST and $
php://input reads raw POST data, but NOT if its multipart/form! It seems like it only reads the POST ‘body’. $_POST and $
Sorry for the long intro, but I was wondering if there is a way to send both files and variables in such a way that the variables and file are both in the ‘body’ so they can be encoded via SSL? Do multipart forms achieve this?
Thanks.