Those with eagle eyes may have noticed that in the PHP code, the boundary string inside the Content-Type
header was prefixed with two dashes (--
).
Those dashes should have not been there. Removing them allows the request to work.
🤦♂️
Related Posts:
- How can I call specific function if requested URL is not found?
- WP-API v2 Custom Endpoint Response Formatting
- How to run multiple Async HTTP requests in WordPress?
- Creating a post with the REST API, curl and oauth returning 401 error
- Does the REST API (official) support custom post types?
- Unrendered content Cornerstone through REST API
- API JSON Data in WordPress
- How do I get URL from WP_HTTP object?
- Show different Customizer Settings on Page-Tamplates
- how to decode % in app [closed]
- Difference between ‘type’ => ‘text’ and WP_Customize_Control
- Shortcode API: How to get name that matched shortcode RegEx?
- woocommerce registration form with klaviyo(don’t work with current user)
- Change the CSS of the Customizer API
- Create a range slider to change font-size with different screens sizes in wordpress customizer api
- Fetch post block/field data as JSON with WordPress API
- Woocommerce api: create product with images – bad request
- How do I start using an external API and PHP for a WordPress.org page?
- Store a default value for a transient on plugin activation
- PHP > Scheduled Tasks > Sending daily email with dynamic API variables
- Fetching instagram api not working on wordpress
- Building a REST API for your web app exposes primary keys of DB records?
- How to set a template with wp_insert_post
- wp_remote_post empty $_POST
- Is it possible to create new user from external form using REST API?
- How to clone all WordPress Rest API end points
- Export post data with xml to other site using php soap
- Generate images with html2canvas and the woocommerce api
- Creating a brand attribute as a variable
- Create a WordPress Contact Form to call a POST AWS API Gateway and send user data
- How do i post data to url with fields?
- Trouble Accessing Gravity Forms API (GFAPI)
- wp_remote_request to url with port 8001 not woorking
- $_GET[‘title’] in WordPress
- How do I create a WP endpoint that retrieves all custom post types that have a tag?
- Pulling Products from an API
- WP HTTP API call response
- AdWords API with WP
- Run A Pre-Built Core PHP Application Under A WordPress Page or Post Route
- Using the wp_remote_post response body
- base64_encode conflict with convert_smilies in wordpress
- get_body_params() is always empty in POST request
- Create custom API endpoint to change custom header image
- How to cut a section of a URL from a string with a regular expression?
- Adding Microsoft Teams Incoming Webhook to WordPress, Problem with Rest Route?
- Sending the reset password link programatically
- How do I directly access a PHP file located in my themes folder?
- Only show div on homepage/blog index in wordpress/php
- file_exists() acting weird
- Is it possible to use the featured image of a page as a css background without inlining?
- PHP syntax error when using wpdb update?
- Select dropdown not showing selected value php
- Woocommerce – How to get products which have a sale between 20% to 40%? [closed]
- items_wrap not working
- Using shipped version of jquery
- Run a filter when a walker runs
- Can’t search posts using WP_QUERY inside AJAX Function
- How do I Add HTML to the_excerpt() & the_content() Output?
- Display fields as values in array from external SQL DB
- User’s total comment count excluding comments on their own posts
- Populate dropdown with Child Pages based on Parent Page chosen
- How can I remove a function that has been added to wordpress with add_filter?
- do search in two site and show the result in first site
- What’s the uses of wp_cache_set() or wp_cache_add()?
- How to get post’s current parent term ID?
- Adding Taxonomy Image to taxonomy loop [closed]
- get_the_title() gets printed out twice
- What does this mean in wordpress? Easy question
- How to get private property in parent class into extended class?
- Add Codepen animation as Preloader to WordPress
- Setting user nickname and displayname to shortened email
- Error Uncaught ArgumentCountError i cant find it
- Loop stopped working
- Simple WordPress endpoint route doesn’t work
- How do I create a function that modifies a message in the wp-login.php file?
- HTML dropdown setting not showing last saved value in the database
- Why when I create a new post I found 2 record related to this post into the posts database table?
- Trying to display terms from custom taxonomy within function
- Displaying a List of Changes / Updates on the Website Publicly
- Dropdown category field inside repeatable metabox
- How to add Text before my Custom Term and hide it when empty
- Responsive loop with 3 columns inside row then 2 columns
- How To Get HTML Eelement From Another Page
- Cron job -many duplicate posts
- Annoying/confusing WordPress memory limit exhausted
- how to call other plugins once custom post has been inserted
- Force ‘permanent’ post cache of shortcode results
- How to fix UpdraftPlus’s memory issue?
- Are WordPress widgets cached?
- How to fix blank pagination links?
- Fatal error: Call to a member function get_results() on a non-object in on line 26
- Inserting A Feed and Sidebar into an HTML Page
- How To: Simple domPDF Example
- SVN precommit and nullable return types [closed]
- Encode code snippet in AJAX endpoint
- How Can I Edit a WordPress Site’s PHP Files Without Breaking the WP Install?
- How to edit the default database of WordPress [closed]
- how to use header function in wp-load.php file [closed]
- Transate plugin with js & wp_localize_script
- bloginfo url in javascript