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
- How to get attributes from a post requested via the JSON API?
- How to call WordPress API Internally
- Transmit headers and footers via API from one site to another
- WordPress Rest Api search limited to 10 results
- How to use WP-REST API to login user and get user data for Android app?
- WP REST API returns blank response if post is too long
- How to feed a HTML5’s EventSource with a REST API custom endpoint?
- Retrieve CSS and JS From the REST API
- WordPress 4.7 REST API endpoints
- How to: Rest endpoint returning empty object
- 401 Error when trying to make a REST API call to site
- Does jQuery/Ajax send cookies when using the rest API or do I need to somehow add them?
- Android authentication
- Disable REST API for a user ROLE
- Display sub-taxonomies based on SELECTED parent-taxonomy
- Can we access the REST request parameters from within the permission_callback to enforce a 401 by returning false?
- Can I define multiple callback methods depending on the call method?
- Filter post content in REST API
- Passing Meta array in wp-rest api
- WordPress Rest API response
- Inserting custom post meta value using WP-REST API
- How send get request to external api with username and password
- permission_callback has no effect
- Updating link on page via REST api
- WP REST API – Nonce passes wp_verify_nonce even after logout
- WP REST API plugin 500 errors?
- wp-cli command throws error : “SSL routines:tls_process_server_certificate:certificate verify failed” while querying https website
- How to receive data by http POST request
- WP API querying a custom post type and a custom field
- Curl requests sent two times
- PHP: authenticate for a REST request?
- Validate rest-api call on create
- WordPress REST API rest_comment_invalid_author Sorry, you are not allowed to edit ‘author’ for comments
- How to delete user using rest api without reassigning
- What is an endpoint for custom post type comments in REST API?
- How would I know if my system using REST api or not?
- how to use nimble-API and Display data?
- How to display relations via wordpress Rest API
- WP Rest_API- Post request for images returns empty
- Fetching WordPress Private Posts, Public Posts Via Default REST API Endpoint
- Got Blank issue for get data from /wp-json/v2/post
- WP API file_get_contents return TTP request failed! HTTP/1.1 401 Unauthorized
- CRUD from WordPress to Business Central 365 through OData REST API
- Not able to delete media by REST API
- Need to get user data via API
- Custom rest API route not passing data along
- How to filter wp-json/wp/v2/users response on custom metas?
- Paid membership Pro Rest API
- wp_query json ouput
- Fatal error: Call to undefined function register_rest_route()
- Make Custom Fields Public in JSON – API
- how to know that a wordpress plugin support using API?
- Update post / page using API + python
- Calling a Rest API with parameters on button Click
- REST API custom endpoints for metaboxes
- Subscriber role cann’t add comment meta using REST API
- WordPress REST API function not calling from external site
- Issue with API after 6.2 update
- Verify user login and password over api
- All wp-json routes suddenly return 404
- Get rendered HTML single view from post template
- Modify request payload for Core API requests