I need to send user data (some parts of user and user_meta), from Website A to Website B (both are Wordpress Websites) over a secure Protocol, after clicking on a button. According to this post, a secure method would be the ssl protocol (https).

Or in other words, I need the user data of Website A also on Website B (different Server). I have full access to both sites.

What are the best practice and are there already some tools to do that? Where to find good documentation for this task?

In my research I could find only Client to Server communication like here: developer.mozilla.org/Sending_and_retrieving_form_data.

But I'm looking actually for ways to send data to another website (on another server). I guess my case is server-to-server communication?

Thanks in advance for your help!

  • 3
    Are these WordPress sites?
    – fuxia
    Nov 20, 2017 at 13:29
  • why the downvote?! Yes both are wordpress websites. Because of that I've posted my question here!
    – murcoder
    Nov 20, 2017 at 13:30
  • The downvote isn't from me. :) The reason is given in the tool tip on the down arrow: "no research efforts".
    – fuxia
    Nov 20, 2017 at 13:31
  • 1
    There's not enough information here to give a precise answer, by user data, are you talking about the entire user and user meta table? Roles? Is this a continuous synchronisation or a one off copying? Or are you referring to a users posts? Or particular parts of a users data? Some users but not other? Please be clearer what you mean by 'user data' so that an appropriate answer can be written, and please indicate what you've tried so far
    – Tom J Nowell
    Nov 20, 2017 at 13:35
  • Also keep in mind you're walking towards legal and regulatory issues concerning privacy and data protection
    – Tom J Nowell
    Nov 20, 2017 at 13:36

1 Answer 1


I just found a possible solution for my question.

The technology I was looking for is curl. Look at this posts for more Informations:

Also I this Blog Article quite useful:https://davidwalsh.name/curl-post-file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.