Comments (5)
What are the payloads you are providing?
from cf7-to-api.
what is the payload ?
sorry :(
from cf7-to-api.
sorry in my first message i have paste the incorrect json. you find the correct json below (i use the escape caracter)
{"elementType":"Leads",
"element": "{\"company\":\"[text-301]\",\"firstname\":\"[text-302]\",\"lastname\":\"[text-303]\",\"email\":\"[email-497]\",\"phone\":\"[tel-497]\",\"accounttype\":\"[menu-429]\",\"cf_mke_1055\":\"[menu-874]\",\"gdpr_privacypolicy\":\"[acceptance-5]\",\"leadsource\":\"[lead_source]\",\"cf_mke_1056\":\"[language]\"}"
}
from cf7-to-api.
I've got the same error.
from cf7-to-api.
Try the below:
{"elementType":"Leads","element":{"company":"[text-301]","firstname":"[text-302]","lastname":"[text-303]","email":"[email-497]","phone":"[tel-497]","accounttype":"[menu-429]","cf_mke_1055":"[menu-874]","gdpr_privacypolicy":"[acceptance-5]","leadsource":"[lead_source]","cf_mke_1056":"[language]"}}
My issue was improperly formatted JSON. Yours is as well.
from cf7-to-api.
Related Issues (20)
- Handle API errors HOT 6
- Bug Report - API Call not accepting Array Value HOT 5
- How to pass other authentication parameters ? HOT 1
- [feature] Timeout custom HOT 1
- API call not working. HOT 1
- API integration not working after updating CF7 plugin HOT 1
- Double quotation marks in field breaks api call HOT 3
- checkbox: multiple values not parsed HOT 1
- file input to API
- New version not passing short code values
- Doesn't handle 409 response codes correctly HOT 1
- adding "/" each time the form is saved HOT 8
- Form is not saved HOT 13
- File Upload is not working HOT 2
- Changes " with \" HOT 4
- Save error with latest CF7 and feature request HOT 2
- Hardcoded parameters in Called URL & Auth
- Blank parameters
- Cannot redeclare qs_cf7_textdomain()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf7-to-api.