Zapier

מתוך R63
קפיצה אל: ניווט, חיפוש

https://zapier.com/help/disable-ssl-certificate-checks/

http://alternativeto.net/software/zapier/?license=opensource

תוכן עניינים

zapier triger http post

zapier http post

Send a webhook
how to create post
same


JavaScript post

output = [{id: 123, hello: "world"}];


var request = new XMLHttpRequest(); var url = 'https://site.harvestapp.com/invoices'; // or whatever your url actually is var headers = {

   Authorization: 'amNtMjU4MkBnbWFpbC5jb206YTEwMDUw**NB',
   Content-Type: 'application/javascript',
   Accept: 'application/json'

}; var params = {id: 123, hello: "world"};

request.open( 'POST', url, true ); request.setRequestHeader( headers ); request.send( params );


https://zapiertutorials.com/2016/03/31/how-to-make-a-post-request-in-zapiers-code-app/

Python request.post

zapier code Python request post

https://stackoverflow.com/questions/39645963/zapier-python-code-error-segment-com-usercode-py-line-9

https://stackoverflow.com/questions/37078908/api-get-or-zapier-trigger-to-post-action

In Python it would look something like this:

import requests url = 'https://[site].harvestapp.com/invoices' request.headers = {

   'Authorization': 'amNtMjU4MkBnbWFpbC5jb206YTEwMDUw**NB',
   'Content-Type': 'application/javascript',
   'Accept': 'application/json'

} data = {} # put your data there instead of an empty dictionary request.post( url, data )


general example not zap

http://www.geeksforgeeks.org/get-post-requests-using-python/

zapier open source

Huginn


כלים אישיים