Coder Social home page Coder Social logo

Comments (6)

CodeBradley avatar CodeBradley commented on September 2, 2024 1

Most of this plugin should work, it has not been fully tested though so I'm sure there are some bugs; most likely related to mail_2 settings and a small chance it may have auth issues.

All you need to do is install it and you can use it just like the rest of the Rest API. The endpoints are listed in the readme and the schema in the code.

I wasn't sure if there would be any interest in this so I pushed it without much testing. If you send me any issues you find then I'll be glad to update it, I just haven't had the time. I'll also look through it again and update the Readme so its more user friendly.

from contact-form-7-rest-api.

CodeBradley avatar CodeBradley commented on September 2, 2024

Looking over this again, I wouldn't use it just yet unless you really need to. I'm going to have to rename a lot of stuff in the schema and I think it will break anything you make if the plugin ever gets updated. If you do use it, I wouldn't update it to the latest version until you have time to redo your code.

I did add a bunch of TODO's discussing the issues for anyone who is interested in contributing to this.

from contact-form-7-rest-api.

finis-intrinsic avatar finis-intrinsic commented on September 2, 2024

Hi great Thanks for making this plugin.
I am using angular 2 for front end
I just activated this plugin but still after going through the end points i cant see the forms which is created. Pls help

from contact-form-7-rest-api.

CodeBradley avatar CodeBradley commented on September 2, 2024

@kamlesh-astech

It's very important that you are authenticated before you can use this plugin. Since we don't want anyone to come along and view the forms saved in the database it is required that you have the capability to edit other users posts before you can view or modify the saved forms.

With OAuth authentication you will be able to create a client that will have all of the same capabilities as an administrator which will then allow you to access the forms via the Rest API using the endpoints in the readme.

http://v2.wp-api.org/guide/authentication/#oauth-authentication

Also, as I mentioned previously, the schema needs to be recreated so you may run into some minor issues, but overall the plugin should work. I plan on updating this as soon as possible but I've just been to busy lately

from contact-form-7-rest-api.

CodeBradley avatar CodeBradley commented on September 2, 2024

Important Note: Endpoints are now included with the Contact Form 7 plugin as of version 4.7. I only recommend working with this code if you are using an older version of Contact Form 7.

Here's the changelog: https://contactform7.com/2017/03/03/contact-form-7-47/

from contact-form-7-rest-api.

finis-intrinsic avatar finis-intrinsic commented on September 2, 2024

Thanks for the plugin update @CodeBradley

from contact-form-7-rest-api.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.