After further look into the problem I found out that for a weird reason wordpress only allows posting to port 80. Otherwise the post is denied.
In other words, the server you are posting to must be listening on port 80.
Related Posts:
- Wp_remote_post not posting data
- wp_remote_post doesn’t work with more than 1024 bytes in the body
- Does wp_remote_post support asynchronous request?
- Remote login with only the username not working
- WordPress wp_remote_post vs wp_remote_request
- wp_remote_post code conversion
- wp_remote_post rabobank omnikassa (version2) – error 5001
- wp_remote_post() and Pem certificates
- Sending JSON string through wp_remote_post()
- How to add Request header in WordPress remote api calls
- Error timed out with succesfull wp_remote_post
- Send data to 3rd party api with wp_remote_post on wp_login
- Difference between wp_remote_post and wp_safe_remote_post
- Log in from one wordpress website to another wordpress website
- HTTP request on localhost failing
- How can I use CURLOPT_USERPWD in wp_remote_post?
- Change the headers content type with wp_remote_post
- Stuck with wp_remote_post sending data to an external api on user registration
- Retrieving Google Plus share count with wp_remote_post
- How to set charset for wp_remote_post request?
- API getting null values with wp_remote_post
- Post body not working with wp_remote_post()
- On Plugin Activation, How Do I Check for Proper Transport Mechanism?
- creating form for wp_remote_post
- cURL RETURNTRANSFER function in wp_remote_post
- How to create custom post by using REST API securely?
- Sending post request with wp_remote_post not working correctly
- How to convert this cURL to wp_remote_*?
- wp_remote_request header error even though working properly with cURL
- wp_remote_post – handling responses
- How to send file by wp_remote_post?
- Publish page remotely
- http_response_timeout filter not working
- How to code auto-retry for API call
- wp_remote_post empty $_POST
- How to send the body in wp_remote_post as “raw”?
- Generate new post from email
- How to send a HTTP Post request using PHP Curl and WordPress
- Post content in wp_remote_post
- Limit the number of external API calls per second
- Problems getting values from response from wp_remote_post
- Cron and request with wp_remote_post
- wp_remote_post not working with admin-post.php
- Inconsistencies between wp_remote_post and cURL
- Send POST request to Flask app from functions.php file
- wp_remote_post To external API multiple values with the same key
- Does wp_remote_post() require curl?
- wp_remote_post and form post
- WordPress wp_remote_post() sending informaiton to Redmine REST API
- saving file to external server vip
- Webhook: save_post action fires wp_remote_post twice
- wp_remote_post vs curl to send data in WordPress plugin
- upload image with rest API to the media library