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?
- wordpress-plugin (widget) that performs a Neaby-search on the openstreetmap-endpoint: around x find y
- REST API Plugin Update call back not updating the plugin
- Display endpoint’s return into a file (file_put_contents())
- Read data from external source. XML vs REST API
- Encountering 400 Bad Request Error When Sending Form Information to API through Elementor
- WordPress getting data from external API
- Can external API content be added to Rest API in WordPress
- How to pass a file to an API call through WordPress
- Can’t make an external api call in php side of wordpress child theme
- WordPress Custom API GET request from External App with XML Parameter
- WP Login Button for current domain
- Custom PHP-coding in MU installs
- WordPress Pages into Sections edit.php PHP hack
- Dynamically pull the correct email address from a match
- ISOTOPE – Missing/Invalid Arguement Get Terms
- why php notice is not getting ignored?
- Set active class in a Php foeach
- How to display different widgets on specific pages, hide from other pages
- Custom single.php files for different post formats
- Loading a post’s content, into a div outside the loop, when it’s title is selected in a list
- WordPress create new on site when a new page is added
- Setting post thumbnail sizes in template file and functions.php
- Submenu opened problem
- doubled content
- Adding if statement to content for homepage
- How to reduce three query to one in multiple output template?
- Page downloads as file in Chrome
- Tables not showing divs and loop/php items
- How do I create a single WordPress page that will use PHP to include different HTML files based on a vaule in the URL?
- Custom action on comment post
- Themes with variable width or single columns? I want to display source code
- Category List in Theme Options Page
- How to call the_author_meta and make it work?
- Where are Sessions are being started? [closed]
- WXR XML import is stripping php tags that I need to keep
- Showing all post from all post type in admin backstage
- Or operators in PHP [closed]
- Get unique post in parent category
- How to remove parent section in an attachment URL in wordpress?
- wordpress taxonomy in regular posts
- PHP Widget and do_shortcode
- if is_home(), change class of menu-item-225 of wp_nav_menu
- WordPress most commented posts of last X days
- images in wordpress themes
- Nav Menu Display
- split searchresults into different topics?
- WordPress & PHP sessions
- Get current WordPress page then add #post ID to the end
- WordPress redirect on login
- WordPress Plugin Receive a Link
- Adding a unique class to wp_nav_menu
- How can I add more code to this?
- How to extend the page editor?
- Save Option on Database
- .htaccess on multisite and roots theme?