Title: Can&#8217;t pass data to API
Last modified: February 12, 2019

---

# Can’t pass data to API

 *  Resolved [karthickr](https://wordpress.org/support/users/karthickr/)
 * (@karthickr)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-pass-data-to-api/)
 * I am using a WordPress version of 5.0.3, I installed the Contact form 7 to api
   + Basic auth plugin for the purpose of passing the JSON data to our API.
 * I referred the API URL and passed the JSON data in the Contact form 7 to api 
   + Basic auth plugin. Once contact form has been submitted, we cannot pass the
   form data to the API.
 * Please suggest your ideas, how to call our API and pass the form data.
 * Also, Please share the suggestion, how can we use the Basic Auth in the API Integration.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [karthickr](https://wordpress.org/support/users/karthickr/)
 * (@karthickr)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cant-pass-data-to-api/#post-11293131)
 * After downloading the plugin, need to keep the below PHP files in a separate 
   folder which is to be named as **includes**
    -  class-cf7-api-admin.php
    -  class.qs-admin-notices.php
    -  class.cf7-helpers.php
    -  class.cf7-api.php
    - And then upload the zip file in WordPress and activate the plugin. Now, the
      issue has been resolved.
 *  [Mayank](https://wordpress.org/support/users/_mayank_/)
 * (@_mayank_)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/cant-pass-data-to-api/#post-11317741)
 * [@karthickr](https://wordpress.org/support/users/karthickr/) I am still facing
   same issue. can you help me out ?
 *  Thread Starter [karthickr](https://wordpress.org/support/users/karthickr/)
 * (@karthickr)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/cant-pass-data-to-api/#post-11324511)
 * [@_mayank_](https://wordpress.org/support/users/_mayank_/) Did you kept the below-
   mentioned PHP files in a separate folder?
 * class-cf7-api-admin.php
    class.qs-admin-notices.php class.cf7-helpers.php class.
   cf7-api.php
    -  This reply was modified 7 years, 3 months ago by [karthickr](https://wordpress.org/support/users/karthickr/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can’t pass data to API’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cf7-to-api-basic-auth.svg)
 * [Contact form 7 TO API + Basic Auth](https://wordpress.org/plugins/cf7-to-api-basic-auth/)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-to-api-basic-auth/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-to-api-basic-auth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-to-api-basic-auth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-to-api-basic-auth/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [karthickr](https://wordpress.org/support/users/karthickr/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/cant-pass-data-to-api/#post-11324511)
 * Status: resolved