Title: bpb54321's Replies | WordPress.org

---

# bpb54321

  [  ](https://wordpress.org/support/users/bpb54321/)

 *   [Profile](https://wordpress.org/support/users/bpb54321/)
 *   [Topics Started](https://wordpress.org/support/users/bpb54321/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bpb54321/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bpb54321/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bpb54321/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bpb54321/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bpb54321/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Database Sync] How to modify Database Sync plugin to use HTTP authentication](https://wordpress.org/support/topic/how-to-modify-database-sync-plugin-to-use-http-authentication/)
 *  Thread Starter [bpb54321](https://wordpress.org/support/users/bpb54321/)
 * (@bpb54321)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/how-to-modify-database-sync-plugin-to-use-http-authentication/#post-6995899)
 * Just figured it out!
 * Referencing this post: [https://wordpress.org/support/topic/http-406-remote-site-not-accessible?replies=10](https://wordpress.org/support/topic/http-406-remote-site-not-accessible?replies=10)
 * It appears that you can go into the function `function dbs_post($url, $action,
   $params)` within the functions.php file of the plugin, and create a $header variable,
   which you can then add to the CURL request, exactly like rearley did in the above
   referenced post.
 * The only difference needed for me was that I had to add the following to the 
   beginning ofn the $header array:
 * `$header[0] = "Authorization: Basic *****************";`
 * Where “*******” represents an authorization key. I was able to find the authorization
   key for my site by using Dev Tools->Network Panel to read the HTTP request that
   my browser sent to my remote site after I entered the username and password in
   the dialog box.

Viewing 1 replies (of 1 total)