How do I configure to send using JSON?
-
You can’t yet, but you will be able in the next version.
If you have some coding skills I can point you a direction how to do it via code.
My CRM and most platforms only take JSON. Its for API integration. See https://flexie.io/api-docs/ and search the page for
/ce/{tableName}/edit
Update Custom Entity By Unique FieldI would be happy to rate your plugin as soon as it works using JSON. Otherwise I cant use it
- This reply was modified 6 years, 1 month ago by asbell.
Yeah, I know. Let me add that option, I’ll notify you once it will be released. Should be within a couple of days.
Hey Kuba. Hev you done the fix so that it sends JSON yet?
Hi, sorry, I planned to do it over the weekend
Hi Kuba. Did you complete the json packaging yet? If so I am ready to test – Jonathan
Sorry, I hadn’t such a busy week since ever. I had to postpone it to the next week.
Good news @asbell!
I managed to do develop it, but it’s going to take me probably a day or two to release the plugin.
If you wish to use this right now you can compile the plugin from source downloading all the files from Github.
Second thought – I can send you a zip with development version
Hey @asbell, have you tested the Webhook JSON? Is it working as expected?
Hi Kuba. Did you repush the new version or do I need to download something privately?
The new version has been released yesterday so all you have to do it update it via the wp-admin.
Option for encoding the params as a JSON is added to the Webhook Notification form. Just tick the checkbox and you should be all set π
There is some escaping/encoding problem. see below the “\/”
POST CONTENT:
{“name”:”26500″,”permalink”:”http:\/\/mywebsite.staging.wpengine.com\/valuation\/”,”slug”:”valuation”,”title”:”Valuation”,”excerpt”:””,”source_type”:”page”,”source”:”wp_putp”,”apikey”:”AtOpq8PN0aIoAzfsL9QN0z1bPbRD7U”}
HEADERS β²
Content-Type
application/x-www-form-urlencoded
User-Agent
WordPress/4.9.4; http://mywebsite.staging.wpengine.com
Connection
close
Accept-Encoding
deflate, gzip
Referer
http://api.webhookinbox.com/i/9fjuzkGh/in/
Content-Length
214
Accept
*/*
Host
api.webhookinbox.comWould you mind sharing screenshot how the Webhook configuration looks like in the wp-admin?
Also, please edit your last post and remove the API key, it’s public!
- This reply was modified 6 years, 1 month ago by Kuba Mikita.
Did you get it?
- The topic ‘How do I configure to send using JSON?’ is closed to new replies.