How to send user data from one website to another

I just found a possible solution for my question. The technology I was looking for is curl. Look at this posts for more Informations: stackoverflow.com/transfer-php-variables-from-one-server-to-another stackoverflow.com/sending-data-across-websites-using-from-http-and-receiving-in-https Also I this Blog Article quite useful:https://davidwalsh.name/curl-post-file

Inconsistencies between wp_remote_post and cURL

As discovered above, headers need to be (seems so obvious now) key-value pairs, as opposed to an array of json-style key-values: $headers = array(); $headers[‘Content-Type’] = ‘application/json’; $headers[‘Api-Key’] = ‘{myapikey}’; $headers[‘Siteid’] = ‘99999’; And the body needs to be json so either: ‘body’ => “{\n \”Username\”: \”Siteowner\”,\n \”Password\”: \”apitest1234\”\n}” or ‘body’ => json_encode(array( ‘Username’ => … Read more