I have solved the issue. It was unrelated to json / javascript / api.
It was a simple issue of tmp folder ownership. Since there were no errors spewing out by the php managing the request, I never noticed a PHP NOTICE saying to check permissions in temp folder as php was unable to upload the temp file there. And indeed, while the permissions were fine, the group ownership was not.
Sorry to have wasted everybody’s time. Thank you.
Related Posts:
- WordPress Rest API: How do we validate with our custom API key?
- authentication issue with rest api – rest_cannot_create
- wordpress wp-json prefix issue
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- Can’t GET draft posts via REST API from headless frontend
- Formating content rendered from wordpress REST API as JSON and not HTML
- WordPress REST API – Modify JSON before importing
- Why does AWStats show /wp-json* as Viewed URLs
- How to order WordPress Rest API data
- WP Rest API – How to convert embedded to json object in Java [closed]
- featured image not found in json from wp rest api
- Custom endpoint to get all custom taxonomy terms
- WordPress JSON data to and from database to be shown on rest point
- How to Get Featured Image from REST API?
- If I use WordPress REST API V2 and someone makes an app using it. Will my site count the posts views from the APP? And if not, then how?
- How to connect android app with WordPress website?
- Is there a way I can fetch the WordPress Developer Code References with an API?
- 403 error when publishing a post in wordpress. Error => Publishing failed. The response is not a valid JSON response
- Error message: Response is not a valid JSON response
- WordPress REST API not working on localhost
- DELETE request using WP REST API
- how to create JSON array [] for REST response?
- WP Rest API in Android studio does not show Images
- What’s the right way to validate JSON data coming from an AJAX POST request?
- How do i POST to WordPress rest API from the same domain?
- How to receive JSON payload from a digital device
- WP CLI in WP 5.3 with PHP 7.4
- Get wordpress post with featured image, category and tag from WordPress API
- WordPress API “code”:”rest_no_route” with Custom Route
- Autotrader API Integration
- REST API get featured image source for custom post type
- Fix Characters WordPress Ionic App
- Display Post Featured Image along with Categories via WP Rest API
- WordPress REST API not displaying all information
- WordPress Rest API Escapes Returned URLs Forward Slash
- Custom WP Rest API Endpoints from JSON Schema
- Custom rest api endpoint response json problem
- WordPress json – How to use the content rendered from json
- Fetch All Posts (Including Those Using a Custom Post Type) With WordPress API
- How to use _embed when using _fields?
- WordPress REST API validation
- Filter posts by multiple custom taxonomy terms using AND operator in REST API v2 (WordPress)
- WP REST API core major changes
- WordPress REST API – JSON “Rendered” Content Incorrect
- How to get all posts from parent and children categories?
- Attach featured image to custom endpoints
- WordPress: How to create custom REST API route?
- REST API URL parameters not working with apache server
- How to Pull ALL Posts, Categories, or Tags in WordPress REST API
- Get all post media images via WP REST API
- Query the REST API for a Tag by slug
- Rest API Custom Endpoint with space character
- Testing custom API endpoint with class dependency
- apiFetch security
- Application Password is not enable by default?
- Cannot get ‘sanitize_callback’ to work for rest parameters
- How to use current_user_can() in register_rest_route()?
- WP REST API GET Requests require authentication
- What’s the “?P” register rest api construct, what is for and where to find official docs?
- WordPress REST API json – How to activate gzip compression?
- Erratic OAuth 1.0 Signature Mismatch Errors
- WordPress custom endpoint returning blank response
- How to force JWT auth for default GET endpoints of WordPress rest api?
- REST API: best place to set current user for JWT auth?
- WP_REST_Response() doesn’t seem to return the expected object
- Setting ?context=edit results in rest_forbidden_context, even for an Administrator user
- How to call wp plugin REST functions without curl?
- Include results with tags relevant to the search keyword with JSON rest API v2
- WP Rest Api- Update callback (POST request) to existing database table through the rest api
- Save default options as an array of options and display in REST API
- Backbone with custom rest endpoints
- rest Api jwt authentication for get methodes
- REST API and filtering by meta value
- How to add an endpoint to WP
- How to set up the REST API to refer to media on a CDN
- IIS Authorization Rules breaks WP REST-API and results in fail in Site Health
- How to delete all instances of the image using REST API
- REST API connection on another site with post information and permalink
- Performance of WordPress Rest API vs WordPress Feeds
- trigger WordPress rest any API call
- WordPress REST API in Integromat: How to overcome “Sorry, you are not allowed to list users / edit this…”
- Do something when publish a post in Gutenberg with hook rest_after_insert_post
- Loop through WordPress API response errors
- rest api add post meta
- Can I use REST API if the site is protected with .htpasswd
- phpmailer_init ignored on REST calls
- Rest WP_Error always return null
- order by meta start_dato value (ACF)
- Register rest field authentication with REST API
- WordPress PHP error getting posts from another wordpress blog
- Loading posts outside wordpress
- Handling _embed for custom REST API endpoints
- Restructure Objects coming from Rest-Api
- oneOf two possible objects in WP REST API?
- Script tag in string in wordpress rest api body to create post
- Securing REST API wp-json/wp/v2/users endpoint
- Customizer Changeset, Sidebar and Rest API Custom Endpoints
- WordPress REST API won’t allow me to filter by author ID when called internally, works externally in Postman
- Rest API is running, but /wp-json/wp/v2/ shows only old dates
- Rest Api Error ‘ Error: {‘code’: ‘rest_no_route’, ‘message’: ‘No route was found matching the URL and request method.’, ‘data’: {‘status’: 404}}@ [closed]