acf-to-rest-api icon indicating copy to clipboard operation
acf-to-rest-api copied to clipboard

How to upload a simple file via ACF to REST API

Open ServiceSector opened this issue 4 years ago • 0 comments

Steps to replicate: -Made sure that uploading file is possible via /wp-json/wp/v2/media/ POST reference -On postman, /wp-json/acf/v3/users/140/ POST with body set as form-data, keys being fields[imagefield] and value being a file sample.jpg I get cannot update item status 500

I'm certain that it's a simple mistake, something small, not sure what though

ServiceSector avatar Jan 17 '21 11:01 ServiceSector