Comments (6)
It works. Thanks
from acf-to-rest-api.
Hi @fabioquarantini,
when you edit the field, you are authenticated?
http://v2.wp-api.org/guide/authentication/
Thanks
from acf-to-rest-api.
Yes I'm using Basic Auth
from acf-to-rest-api.
OK, I'll test soon.
from acf-to-rest-api.
Hi @fabioquarantini,
please put this snippet in your functions.php
add_filter( 'acf/location/rule_match/comment', function(){
return true;
} );
Thanks
from acf-to-rest-api.
Hi, Could you help me in editing a notes field of acf. Here is the response which I have when called this http://test.localhost/wp-json/acf/v2/user/279 using the method GET
{
"acf": {
"notes": [
{
"note": "test test",
"user_id": "3",
"col1": null,
"user_name": "siteadmin",
"col2": null,
"created_at": "08/05/2016 09:08:55 am",
"col3": null,
"modified": "08/05/2016 09:09:39 am"
},
{
"note": "test2 test2",
"user_id": "3",
"col1": null,
"user_name": "siteadmin",
"col2": null,
"created_at": "08/05/2016 09:08:55 am",
"col3": null,
"modified": "08/05/2016 09:09:40 am"
}
]
I would like to add another notes. I tried with PUT method and it says
{
"code": "cant_update_item",
"message": "Cannot update item",
"data": {
"status": 500
}
}
I have tried via postman.Its would be great if you could help me on this.
from acf-to-rest-api.
Related Issues (20)
- How can I populate acf relationships to resful api? HOT 1
- Start Up Guide
- Couldn't get multiple results in the same request HOT 1
- ACF to Rest Api does not work with acf-fields-in-custom-table
- Value get's updated, but new keys are not added in JSON response HOT 6
- ACF now has native support for the WP REST API
- Issue with WPML translated oprions HOT 1
- Filter products categories by ACF field
- Issue with ACF 5.12 HOT 7
- ACF only showing image ID HOT 7
- Cannot update terms
- Problem with creating a new WooCommerce product with ACF fields HOT 1
- Problem updating ACF relationship fields
- acf return false
- Edit Custom Field Group select options via Rest API
- i can't update users acf HOT 3
- Get data not being updated
- Slow response time while using with ACF Pro Plugin.
- Filtering posts by any property HOT 1
- Post object taxonomy not showing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf-to-rest-api.