Hi,
Sendgrid has a useful API, as other email services, but I cannot convert this one properly : curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"personalizations": [{"to": [{"email": "[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": "Hello, World!","content": [{"type": "text/plain", "value": "Heya!"}]}' Converted to : var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', -SendMIMEHeaders=Array('"Authorization: Bearer YOUR_API_KEY"','Content-Type: application/json'), -POSTParams='{"personalizations": [{"to": [{"email": "[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": "Hello, World!","content": [{"type": "text/plain", "value": "Heya!"}]}'); Result : {"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]} Of course my credentials work because I've tested this curl sequence into my terminal and my message is sent. Laurent ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
I still have a bunch of include_url tags in use, but I have moved to sending actual curl requests via os_process and shell tags because I am also using 8.6.3.
I had to do this for my Mailgun integration, and the update for TLSv1.2 I did to my AIM tag (before Steve updated it!). ……………... Kevin Bice 512.879.1653 fmpweb.com > On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: > > Hi, > > Sendgrid has a useful API, as other email services, but I cannot > convert this one properly : > > curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ > --header 'Authorization: Bearer YOUR_API_KEY' \ > --header 'Content-Type: application/json' \ > --data '{"personalizations": [{"to": [{"email": > "[hidden email]"}]}],"from": {"email": > "[hidden email]"},"subject": "Hello, World!","content": [{"type": > "text/plain", "value": "Heya!"}]}' > > Converted to : > > var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', > -SendMIMEHeaders=Array('"Authorization: Bearer > YOUR_API_KEY"','Content-Type: application/json'), > -POSTParams='{"personalizations": [{"to": [{"email": > "[hidden email]"}]}],"from": {"email": > "[hidden email]"},"subject": "Hello, World!","content": [{"type": > "text/plain", "value": "Heya!"}]}'); > > Result : {"errors":[{"message":"Permission denied, wrong > credentials","field":null,"help":null}]} > > Of course my credentials work because I've tested this curl sequence > into my terminal and my message is sent. > > Laurent > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
unable to execute os_process :(
2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: > I still have a bunch of include_url tags in use, but I have moved to sending actual curl requests via os_process and shell tags because I am also using 8.6.3. > > I had to do this for my Mailgun integration, and the update for TLSv1.2 I did to my AIM tag (before Steve updated it!). > ……………... > Kevin Bice > 512.879.1653 > fmpweb.com > > > >> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >> >> Hi, >> >> Sendgrid has a useful API, as other email services, but I cannot >> convert this one properly : >> >> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >> --header 'Authorization: Bearer YOUR_API_KEY' \ >> --header 'Content-Type: application/json' \ >> --data '{"personalizations": [{"to": [{"email": >> "[hidden email]"}]}],"from": {"email": >> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >> "text/plain", "value": "Heya!"}]}' >> >> Converted to : >> >> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >> -SendMIMEHeaders=Array('"Authorization: Bearer >> YOUR_API_KEY"','Content-Type: application/json'), >> -POSTParams='{"personalizations": [{"to": [{"email": >> "[hidden email]"}]}],"from": {"email": >> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >> "text/plain", "value": "Heya!"}]}'); >> >> Result : {"errors":[{"message":"Permission denied, wrong >> credentials","field":null,"help":null}]} >> >> Of course my credentials work because I've tested this curl sequence >> into my terminal and my message is sent. >> >> Laurent >> >> ############################################################# >> >> This message is sent to you because you are subscribed to >> the mailing list Lasso [hidden email] >> Official list archives available at http://www.lassotalk.com >> To unsubscribe, E-mail to: <[hidden email]> >> Send administrative queries to <[hidden email]> > > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
You do have to turn it on in Lasso SiteAdmin. Is there something else keeping you from using it?
……………... Kevin Bice 512.879.1653 fmpweb.com > On Oct 3, 2017, at 1:26 PM, Laurent G <[hidden email]> wrote: > > unable to execute os_process :( > > 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >> I still have a bunch of include_url tags in use, but I have moved to sending actual curl requests via os_process and shell tags because I am also using 8.6.3. >> >> I had to do this for my Mailgun integration, and the update for TLSv1.2 I did to my AIM tag (before Steve updated it!). >> ……………... >> Kevin Bice >> 512.879.1653 >> fmpweb.com >> >> >> >>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>> >>> Hi, >>> >>> Sendgrid has a useful API, as other email services, but I cannot >>> convert this one properly : >>> >>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>> --header 'Content-Type: application/json' \ >>> --data '{"personalizations": [{"to": [{"email": >>> "[hidden email]"}]}],"from": {"email": >>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>> "text/plain", "value": "Heya!"}]}' >>> >>> Converted to : >>> >>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>> -SendMIMEHeaders=Array('"Authorization: Bearer >>> YOUR_API_KEY"','Content-Type: application/json'), >>> -POSTParams='{"personalizations": [{"to": [{"email": >>> "[hidden email]"}]}],"from": {"email": >>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>> "text/plain", "value": "Heya!"}]}'); >>> >>> Result : {"errors":[{"message":"Permission denied, wrong >>> credentials","field":null,"help":null}]} >>> >>> Of course my credentials work because I've tested this curl sequence >>> into my terminal and my message is sent. >>> >>> Laurent >>> >>> ############################################################# >>> >>> This message is sent to you because you are subscribed to >>> the mailing list Lasso [hidden email] >>> Official list archives available at http://www.lassotalk.com >>> To unsubscribe, E-mail to: <[hidden email]> >>> Send administrative queries to <[hidden email]> >> >> >> ############################################################# >> >> This message is sent to you because you are subscribed to >> the mailing list Lasso [hidden email] >> Official list archives available at http://www.lassotalk.com >> To unsubscribe, E-mail to: <[hidden email]> >> Send administrative queries to <[hidden email]> > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
In reply to this post by Laurent Gigon
Does Sendgrid require TLS v1.2 in its requests?
What did you do to install and configure os_process? Do you have sufficient permission in the environment to enable os_process? What is your operating system and version? --steve On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: >unable to execute os_process :( > >2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >>I still have a bunch of include_url tags in use, but I have moved to sending actual curl >requests via os_process and shell tags because I am also using 8.6.3. >> >>I had to do this for my Mailgun integration, and the update for TLSv1.2 I did to my AIM >tag (before Steve updated it!). >>……………... >>Kevin Bice >>512.879.1653 >>fmpweb.com >> >> >> >>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>> >>> Hi, >>> >>> Sendgrid has a useful API, as other email services, but I cannot >>> convert this one properly : >>> >>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>> --header 'Content-Type: application/json' \ >>> --data '{"personalizations": [{"to": [{"email": >>> "[hidden email]"}]}],"from": {"email": >>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>> "text/plain", "value": "Heya!"}]}' >>> >>> Converted to : >>> >>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>> -SendMIMEHeaders=Array('"Authorization: Bearer >>> YOUR_API_KEY"','Content-Type: application/json'), >>> -POSTParams='{"personalizations": [{"to": [{"email": >>> "[hidden email]"}]}],"from": {"email": >>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>> "text/plain", "value": "Heya!"}]}'); >>> >>> Result : {"errors":[{"message":"Permission denied, wrong >>> credentials","field":null,"help":null}]} >>> >>> Of course my credentials work because I've tested this curl sequence >>> into my terminal and my message is sent. >>> >>> Laurent >>> >>> ############################################################# >>> >>> This message is sent to you because you are subscribed to >>> the mailing list Lasso [hidden email] >>> Official list archives available at http://www.lassotalk.com >>> To unsubscribe, E-mail to: <[hidden email]> >>> Send administrative queries to <[hidden email]> >> >> >>############################################################# >> >>This message is sent to you because you are subscribed to >>the mailing list Lasso [hidden email] >>Official list archives available at http://www.lassotalk.com >>To unsubscribe, E-mail to: <[hidden email]> >>Send administrative queries to <[hidden email]> > >############################################################# > >This message is sent to you because you are subscribed to >the mailing list Lasso [hidden email] >Official list archives available at http://www.lassotalk.com >To unsubscribe, E-mail to: <[hidden email]> >Send administrative queries to <[hidden email]> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Website Builder Soquel, CA <[hidden email]> <http://www.stevepiercy.com/> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
In reply to this post by Kevin Bice
cannot find where to enable it in SiteAdmin...
2017-10-03 14:50 GMT-04:00 Kevin Bice <[hidden email]>: > You do have to turn it on in Lasso SiteAdmin. Is there something else keeping you from using it? > ……………... > Kevin Bice > 512.879.1653 > fmpweb.com > > > >> On Oct 3, 2017, at 1:26 PM, Laurent G <[hidden email]> wrote: >> >> unable to execute os_process :( >> >> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >>> I still have a bunch of include_url tags in use, but I have moved to sending actual curl requests via os_process and shell tags because I am also using 8.6.3. >>> >>> I had to do this for my Mailgun integration, and the update for TLSv1.2 I did to my AIM tag (before Steve updated it!). >>> ……………... >>> Kevin Bice >>> 512.879.1653 >>> fmpweb.com >>> >>> >>> >>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>>> >>>> Hi, >>>> >>>> Sendgrid has a useful API, as other email services, but I cannot >>>> convert this one properly : >>>> >>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>>> --header 'Content-Type: application/json' \ >>>> --data '{"personalizations": [{"to": [{"email": >>>> "[hidden email]"}]}],"from": {"email": >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>> "text/plain", "value": "Heya!"}]}' >>>> >>>> Converted to : >>>> >>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>>> -SendMIMEHeaders=Array('"Authorization: Bearer >>>> YOUR_API_KEY"','Content-Type: application/json'), >>>> -POSTParams='{"personalizations": [{"to": [{"email": >>>> "[hidden email]"}]}],"from": {"email": >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>> "text/plain", "value": "Heya!"}]}'); >>>> >>>> Result : {"errors":[{"message":"Permission denied, wrong >>>> credentials","field":null,"help":null}]} >>>> >>>> Of course my credentials work because I've tested this curl sequence >>>> into my terminal and my message is sent. >>>> >>>> Laurent >>>> >>>> ############################################################# >>>> >>>> This message is sent to you because you are subscribed to >>>> the mailing list Lasso [hidden email] >>>> Official list archives available at http://www.lassotalk.com >>>> To unsubscribe, E-mail to: <[hidden email]> >>>> Send administrative queries to <[hidden email]> >>> >>> >>> ############################################################# >>> >>> This message is sent to you because you are subscribed to >>> the mailing list Lasso [hidden email] >>> Official list archives available at http://www.lassotalk.com >>> To unsubscribe, E-mail to: <[hidden email]> >>> Send administrative queries to <[hidden email]> >> >> ############################################################# >> >> This message is sent to you because you are subscribed to >> the mailing list Lasso [hidden email] >> Official list archives available at http://www.lassotalk.com >> To unsubscribe, E-mail to: <[hidden email]> >> Send administrative queries to <[hidden email]> > > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
In reply to this post by stevepiercy
Mac OS 10.12.4
Lasso 8.6.3 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder <[hidden email]>: > Does Sendgrid require TLS v1.2 in its requests? > > What did you do to install and configure os_process? > > Do you have sufficient permission in the environment to enable os_process? > > What is your operating system and version? > > --steve > > > On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: > > >> unable to execute os_process :( >> >> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >>> >>> I still have a bunch of include_url tags in use, but I have moved to >>> sending actual curl >> >> requests via os_process and shell tags because I am also using 8.6.3. >>> >>> >>> I had to do this for my Mailgun integration, and the update for TLSv1.2 I >>> did to my AIM >> >> tag (before Steve updated it!). >>> >>> ……………... >>> Kevin Bice >>> 512.879.1653 >>> fmpweb.com >>> >>> >>> >>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>>> >>>> Hi, >>>> >>>> Sendgrid has a useful API, as other email services, but I cannot >>>> convert this one properly : >>>> >>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>>> --header 'Content-Type: application/json' \ >>>> --data '{"personalizations": [{"to": [{"email": >>>> "[hidden email]"}]}],"from": {"email": >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>> "text/plain", "value": "Heya!"}]}' >>>> >>>> Converted to : >>>> >>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>>> -SendMIMEHeaders=Array('"Authorization: Bearer >>>> YOUR_API_KEY"','Content-Type: application/json'), >>>> -POSTParams='{"personalizations": [{"to": [{"email": >>>> "[hidden email]"}]}],"from": {"email": >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>> "text/plain", "value": "Heya!"}]}'); >>>> >>>> Result : {"errors":[{"message":"Permission denied, wrong >>>> credentials","field":null,"help":null}]} >>>> >>>> Of course my credentials work because I've tested this curl sequence >>>> into my terminal and my message is sent. >>>> >>>> Laurent >>>> >>>> ############################################################# >>>> >>>> This message is sent to you because you are subscribed to >>>> the mailing list Lasso [hidden email] >>>> Official list archives available at http://www.lassotalk.com >>>> To unsubscribe, E-mail to: <[hidden email]> >>>> Send administrative queries to <[hidden email]> >>> >>> >>> >>> ############################################################# >>> >>> This message is sent to you because you are subscribed to >>> the mailing list Lasso [hidden email] >>> Official list archives available at http://www.lassotalk.com >>> To unsubscribe, E-mail to: <[hidden email]> >>> Send administrative queries to <[hidden email]> >> >> >> ############################################################# >> >> This message is sent to you because you are subscribed to >> the mailing list Lasso [hidden email] >> Official list archives available at http://www.lassotalk.com >> To unsubscribe, E-mail to: <[hidden email]> >> Send administrative queries to <[hidden email]> > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy Website Builder Soquel, CA > <[hidden email]> <http://www.stevepiercy.com/> > > > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
Omitted questions yields an omitted answer. ;)
--steve On 10/3/17 at 3:35 PM, [hidden email] (Laurent G) pronounced: > Mac OS 10.12.4 > Lasso 8.6.3 > > 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder <[hidden email]>: > > Does Sendgrid require TLS v1.2 in its requests? > > > > What did you do to install and configure os_process? > > > > Do you have sufficient permission in the environment to enable os_process? > > > > What is your operating system and version? > > > > --steve > > > > > > On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: > > > > > >> unable to execute os_process :( > >> > >> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: > >>> > >>> I still have a bunch of include_url tags in use, but I have moved to > >>> sending actual curl > >> > >> requests via os_process and shell tags because I am also using 8.6.3. > >>> > >>> > >>> I had to do this for my Mailgun integration, and the update for TLSv1.2 I > >>> did to my AIM > >> > >> tag (before Steve updated it!). > >>> > >>> ……………... > >>> Kevin Bice > >>> 512.879.1653 > >>> fmpweb.com > >>> > >>> > >>> > >>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: > >>>> > >>>> Hi, > >>>> > >>>> Sendgrid has a useful API, as other email services, but I cannot > >>>> convert this one properly : > >>>> > >>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ > >>>> --header 'Authorization: Bearer YOUR_API_KEY' \ > >>>> --header 'Content-Type: application/json' \ > >>>> --data '{"personalizations": [{"to": [{"email": > >>>> "[hidden email]"}]}],"from": {"email": > >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": > >>>> "text/plain", "value": "Heya!"}]}' > >>>> > >>>> Converted to : > >>>> > >>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', > >>>> -SendMIMEHeaders=Array('"Authorization: Bearer > >>>> YOUR_API_KEY"','Content-Type: application/json'), > >>>> -POSTParams='{"personalizations": [{"to": [{"email": > >>>> "[hidden email]"}]}],"from": {"email": > >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": > >>>> "text/plain", "value": "Heya!"}]}'); > >>>> > >>>> Result : {"errors":[{"message":"Permission denied, wrong > >>>> credentials","field":null,"help":null}]} > >>>> > >>>> Of course my credentials work because I've tested this curl sequence > >>>> into my terminal and my message is sent. > >>>> > >>>> Laurent > >>>> > >>>> ############################################################# > >>>> > >>>> This message is sent to you because you are subscribed to > >>>> the mailing list Lasso [hidden email] > >>>> Official list archives available at http://www.lassotalk.com > >>>> To unsubscribe, E-mail to: <[hidden email]> > >>>> Send administrative queries to <[hidden email]> > >>> > >>> > >>> > >>> ############################################################# > >>> > >>> This message is sent to you because you are subscribed to > >>> the mailing list Lasso [hidden email] > >>> Official list archives available at http://www.lassotalk.com > >>> To unsubscribe, E-mail to: <[hidden email]> > >>> Send administrative queries to <[hidden email]> > >> > >> > >> ############################################################# > >> > >> This message is sent to you because you are subscribed to > >> the mailing list Lasso [hidden email] > >> Official list archives available at http://www.lassotalk.com > >> To unsubscribe, E-mail to: <[hidden email]> > >> Send administrative queries to <[hidden email]> > > > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > Steve Piercy Website Builder Soquel, CA > > <[hidden email]> <http://www.stevepiercy.com/> > > > > > > > > ############################################################# > > > > This message is sent to you because you are subscribed to > > the mailing list Lasso [hidden email] > > Official list archives available at http://www.lassotalk.com > > To unsubscribe, E-mail to: <[hidden email]> > > Send administrative queries to <[hidden email]> > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Website Builder Soquel, CA <[hidden email]> <http://www.stevepiercy.com/> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
In reply to this post by stevepiercy
:)
Does Sendgrid require TLS v1.2 in its requests? I don't know What did you do to install and configure os_process? Do I need to install anything? Do you have sufficient permission in the environment to enable os_process? I don't know, I'm currently checking my settings with Kevin What is your operating system and version? Mac OS 10.12.4 Lasso 8.6.3 Voilà ! 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder <[hidden email]>: > Does Sendgrid require TLS v1.2 in its requests? > > What did you do to install and configure os_process? > > Do you have sufficient permission in the environment to enable os_process? > > What is your operating system and version? > > --steve > > > On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: > > >> unable to execute os_process :( >> >> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >>> >>> I still have a bunch of include_url tags in use, but I have moved to >>> sending actual curl >> >> requests via os_process and shell tags because I am also using 8.6.3. >>> >>> >>> I had to do this for my Mailgun integration, and the update for TLSv1.2 I >>> did to my AIM >> >> tag (before Steve updated it!). >>> >>> ……………... >>> Kevin Bice >>> 512.879.1653 >>> fmpweb.com >>> >>> >>> >>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>>> >>>> Hi, >>>> >>>> Sendgrid has a useful API, as other email services, but I cannot >>>> convert this one properly : >>>> >>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>>> --header 'Content-Type: application/json' \ >>>> --data '{"personalizations": [{"to": [{"email": >>>> "[hidden email]"}]}],"from": {"email": >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>> "text/plain", "value": "Heya!"}]}' >>>> >>>> Converted to : >>>> >>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>>> -SendMIMEHeaders=Array('"Authorization: Bearer >>>> YOUR_API_KEY"','Content-Type: application/json'), >>>> -POSTParams='{"personalizations": [{"to": [{"email": >>>> "[hidden email]"}]}],"from": {"email": >>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>> "text/plain", "value": "Heya!"}]}'); >>>> >>>> Result : {"errors":[{"message":"Permission denied, wrong >>>> credentials","field":null,"help":null}]} >>>> >>>> Of course my credentials work because I've tested this curl sequence >>>> into my terminal and my message is sent. >>>> >>>> Laurent >>>> >>>> ############################################################# >>>> >>>> This message is sent to you because you are subscribed to >>>> the mailing list Lasso [hidden email] >>>> Official list archives available at http://www.lassotalk.com >>>> To unsubscribe, E-mail to: <[hidden email]> >>>> Send administrative queries to <[hidden email]> >>> >>> >>> >>> ############################################################# >>> >>> This message is sent to you because you are subscribed to >>> the mailing list Lasso [hidden email] >>> Official list archives available at http://www.lassotalk.com >>> To unsubscribe, E-mail to: <[hidden email]> >>> Send administrative queries to <[hidden email]> >> >> >> ############################################################# >> >> This message is sent to you because you are subscribed to >> the mailing list Lasso [hidden email] >> Official list archives available at http://www.lassotalk.com >> To unsubscribe, E-mail to: <[hidden email]> >> Send administrative queries to <[hidden email]> > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy Website Builder Soquel, CA > <[hidden email]> <http://www.stevepiercy.com/> > > > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
could it be simpler to transform that into include_url ?
curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ --header 'Authorization: Bearer MY_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"personalizations": [{"to": [{"email": "[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": "Hello, World!","content": [{"type": "text/plain", "value": "Heya!"}]}' 2017-10-03 15:40 GMT-04:00 Laurent G <[hidden email]>: > :) > > Does Sendgrid require TLS v1.2 in its requests? > I don't know > > What did you do to install and configure os_process? > Do I need to install anything? > > Do you have sufficient permission in the environment to enable os_process? > I don't know, I'm currently checking my settings with Kevin > > What is your operating system and version? > Mac OS 10.12.4 > Lasso 8.6.3 > > Voilà ! > > 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder <[hidden email]>: >> Does Sendgrid require TLS v1.2 in its requests? >> >> What did you do to install and configure os_process? >> >> Do you have sufficient permission in the environment to enable os_process? >> >> What is your operating system and version? >> >> --steve >> >> >> On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: >> >> >>> unable to execute os_process :( >>> >>> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >>>> >>>> I still have a bunch of include_url tags in use, but I have moved to >>>> sending actual curl >>> >>> requests via os_process and shell tags because I am also using 8.6.3. >>>> >>>> >>>> I had to do this for my Mailgun integration, and the update for TLSv1.2 I >>>> did to my AIM >>> >>> tag (before Steve updated it!). >>>> >>>> ……………... >>>> Kevin Bice >>>> 512.879.1653 >>>> fmpweb.com >>>> >>>> >>>> >>>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>>>> >>>>> Hi, >>>>> >>>>> Sendgrid has a useful API, as other email services, but I cannot >>>>> convert this one properly : >>>>> >>>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>>>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>>>> --header 'Content-Type: application/json' \ >>>>> --data '{"personalizations": [{"to": [{"email": >>>>> "[hidden email]"}]}],"from": {"email": >>>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>>> "text/plain", "value": "Heya!"}]}' >>>>> >>>>> Converted to : >>>>> >>>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>>>> -SendMIMEHeaders=Array('"Authorization: Bearer >>>>> YOUR_API_KEY"','Content-Type: application/json'), >>>>> -POSTParams='{"personalizations": [{"to": [{"email": >>>>> "[hidden email]"}]}],"from": {"email": >>>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>>> "text/plain", "value": "Heya!"}]}'); >>>>> >>>>> Result : {"errors":[{"message":"Permission denied, wrong >>>>> credentials","field":null,"help":null}]} >>>>> >>>>> Of course my credentials work because I've tested this curl sequence >>>>> into my terminal and my message is sent. >>>>> >>>>> Laurent >>>>> >>>>> ############################################################# >>>>> >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list Lasso [hidden email] >>>>> Official list archives available at http://www.lassotalk.com >>>>> To unsubscribe, E-mail to: <[hidden email]> >>>>> Send administrative queries to <[hidden email]> >>>> >>>> >>>> >>>> ############################################################# >>>> >>>> This message is sent to you because you are subscribed to >>>> the mailing list Lasso [hidden email] >>>> Official list archives available at http://www.lassotalk.com >>>> To unsubscribe, E-mail to: <[hidden email]> >>>> Send administrative queries to <[hidden email]> >>> >>> >>> ############################################################# >>> >>> This message is sent to you because you are subscribed to >>> the mailing list Lasso [hidden email] >>> Official list archives available at http://www.lassotalk.com >>> To unsubscribe, E-mail to: <[hidden email]> >>> Send administrative queries to <[hidden email]> >> >> >> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> Steve Piercy Website Builder Soquel, CA >> <[hidden email]> <http://www.stevepiercy.com/> >> >> >> >> ############################################################# >> >> This message is sent to you because you are subscribed to >> the mailing list Lasso [hidden email] >> Official list archives available at http://www.lassotalk.com >> To unsubscribe, E-mail to: <[hidden email]> >> Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
In reply to this post by Laurent Gigon
On 10/3/17 at 3:40 PM, [hidden email] (Laurent G) pronounced:
>Does Sendgrid require TLS v1.2 in its requests? >I don't know Neither do I. But if you do some research on Sendgrid, you might find the answer. If TLS v1.2 is required, then you must use curl and include --tlsv1.2 in the options that you pass to curl, similar to what I had to implement for my AuthorizeNet_AIM tag. https://github.com/stevepiercy/AuthorizeNet_AIM/blob/master/AuthorizeNet_AIM.inc#L193 >What did you do to install and configure os_process? >Do I need to install anything? Yes, follow the instructions in the Lasso Professional Language Guide, Chapter 38, Process and Shell Support. >Do you have sufficient permission in the environment to enable os_process? >I don't know, I'm currently checking my settings with Kevin You must have administrative access on the server. >What is your operating system and version? >Mac OS 10.12.4 >Lasso 8.6.3 Don't upgrade to 10.12.6, just in case. The version of curl compiled on that version of macOS is broken. https://github.com/curl/curl/issues/1703 If you do upgrade, see the temporary workaround reported here: https://github.com/stevepiercy/AuthorizeNet_AIM/issues/5 --steve -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Website Builder Soquel, CA <[hidden email]> <http://www.stevepiercy.com/> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
In reply to this post by Laurent Gigon
It depends on whether Sendgrid requires TLS v1.2. If it does,
then you must use curl. If it does not, then you could try include_url. I find it is easier to use curl than include_url. --steve On 10/3/17 at 3:48 PM, [hidden email] (Laurent G) pronounced: >could it be simpler to transform that into include_url ? > >curl --request POST \ >--url https://api.sendgrid.com/v3/mail/send \ >--header 'Authorization: Bearer MY_API_KEY' \ >--header 'Content-Type: application/json' \ >--data '{"personalizations": [{"to": [{"email": >"[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": >"Hello, World!","content": [{"type": "text/plain", "value": >"Heya!"}]}' > >2017-10-03 15:40 GMT-04:00 Laurent G <[hidden email]>: >>:) >> >>Does Sendgrid require TLS v1.2 in its requests? >>I don't know >> >>What did you do to install and configure os_process? >>Do I need to install anything? >> >>Do you have sufficient permission in the environment to enable os_process? >>I don't know, I'm currently checking my settings with Kevin >> >>What is your operating system and version? >>Mac OS 10.12.4 >>Lasso 8.6.3 >> >>Voilà ! >> >>2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder <[hidden email]>: >>> Does Sendgrid require TLS v1.2 in its requests? >>> >>> What did you do to install and configure os_process? >>> >>> Do you have sufficient permission in the environment to enable os_process? >>> >>> What is your operating system and version? >>> >>> --steve >>> >>> >>> On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: >>> >>> >>>> unable to execute os_process :( >>>> >>>> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >>>>> >>>>> I still have a bunch of include_url tags in use, but I have moved to >>>>> sending actual curl >>>> >>>> requests via os_process and shell tags because I am also using 8.6.3. >>>>> >>>>> >>>>> I had to do this for my Mailgun integration, and the update for TLSv1.2 I >>>>> did to my AIM >>>> >>>> tag (before Steve updated it!). >>>>> >>>>> ……………... >>>>> Kevin Bice >>>>> 512.879.1653 >>>>> fmpweb.com >>>>> >>>>> >>>>> >>>>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> Sendgrid has a useful API, as other email services, but I cannot >>>>>> convert this one properly : >>>>>> >>>>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>>>>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>>>>> --header 'Content-Type: application/json' \ >>>>>> --data '{"personalizations": [{"to": [{"email": >>>>>> "[hidden email]"}]}],"from": {"email": >>>>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>>>> "text/plain", "value": "Heya!"}]}' >>>>>> >>>>>> Converted to : >>>>>> >>>>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>>>>> -SendMIMEHeaders=Array('"Authorization: Bearer >>>>>> YOUR_API_KEY"','Content-Type: application/json'), >>>>>> -POSTParams='{"personalizations": [{"to": [{"email": >>>>>> "[hidden email]"}]}],"from": {"email": >>>>>> "[hidden email]"},"subject": "Hello, World!","content": [{"type": >>>>>> "text/plain", "value": "Heya!"}]}'); >>>>>> >>>>>> Result : {"errors":[{"message":"Permission denied, wrong >>>>>> credentials","field":null,"help":null}]} >>>>>> >>>>>> Of course my credentials work because I've tested this curl sequence >>>>>> into my terminal and my message is sent. >>>>>> >>>>>> Laurent >>>>>> >>>>>> ############################################################# >>>>>> >>>>>> This message is sent to you because you are subscribed to >>>>>> the mailing list Lasso [hidden email] >>>>>> Official list archives available at http://www.lassotalk.com >>>>>> To unsubscribe, E-mail to: <[hidden email]> >>>>>> Send administrative queries to <[hidden email]> >>>>> >>>>> >>>>> >>>>> ############################################################# >>>>> >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list Lasso [hidden email] >>>>> Official list archives available at http://www.lassotalk.com >>>>> To unsubscribe, E-mail to: <[hidden email]> >>>>> Send administrative queries to <[hidden email]> >>>> >>>> >>>> ############################################################# >>>> >>>> This message is sent to you because you are subscribed to >>>> the mailing list Lasso [hidden email] >>>> Official list archives available at http://www.lassotalk.com >>>> To unsubscribe, E-mail to: <[hidden email]> >>>> Send administrative queries to <[hidden email]> >>> >>> >>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>> Steve Piercy Website Builder Soquel, CA >>> <[hidden email]> <http://www.stevepiercy.com/> >>> >>> >>> >>> ############################################################# >>> >>> This message is sent to you because you are subscribed to >>> the mailing list Lasso [hidden email] >>> Official list archives available at http://www.lassotalk.com >>> To unsubscribe, E-mail to: <[hidden email]> >>> Send administrative queries to <[hidden email]> > >############################################################# > >This message is sent to you because you are subscribed to >the mailing list Lasso [hidden email] >Official list archives available at http://www.lassotalk.com >To unsubscribe, E-mail to: <[hidden email]> >Send administrative queries to <[hidden email]> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Website Builder Soquel, CA <[hidden email]> <http://www.stevepiercy.com/> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
Thank you Steve!
2017-10-03 16:16 GMT-04:00 Steve Piercy - Website Builder <[hidden email]>: > It depends on whether Sendgrid requires TLS v1.2. If it does, then you must > use curl. If it does not, then you could try include_url. > > I find it is easier to use curl than include_url. > > --steve > > > On 10/3/17 at 3:48 PM, [hidden email] (Laurent G) pronounced: > > >> could it be simpler to transform that into include_url ? >> >> curl --request POST \ >> --url https://api.sendgrid.com/v3/mail/send \ >> --header 'Authorization: Bearer MY_API_KEY' \ >> --header 'Content-Type: application/json' \ >> --data '{"personalizations": [{"to": [{"email": >> "[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": >> "Hello, World!","content": [{"type": "text/plain", "value": >> "Heya!"}]}' >> >> 2017-10-03 15:40 GMT-04:00 Laurent G <[hidden email]>: >>> >>> :) >>> >>> Does Sendgrid require TLS v1.2 in its requests? >>> I don't know >>> >>> What did you do to install and configure os_process? >>> Do I need to install anything? >>> >>> Do you have sufficient permission in the environment to enable >>> os_process? >>> I don't know, I'm currently checking my settings with Kevin >>> >>> What is your operating system and version? >>> Mac OS 10.12.4 >>> Lasso 8.6.3 >>> >>> Voilà ! >>> >>> 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder >>> <[hidden email]>: >>>> >>>> Does Sendgrid require TLS v1.2 in its requests? >>>> >>>> What did you do to install and configure os_process? >>>> >>>> Do you have sufficient permission in the environment to enable >>>> os_process? >>>> >>>> What is your operating system and version? >>>> >>>> --steve >>>> >>>> >>>> On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: >>>> >>>> >>>>> unable to execute os_process :( >>>>> >>>>> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: >>>>>> >>>>>> >>>>>> I still have a bunch of include_url tags in use, but I have moved to >>>>>> sending actual curl >>>>> >>>>> >>>>> requests via os_process and shell tags because I am also using 8.6.3. >>>>>> >>>>>> >>>>>> >>>>>> I had to do this for my Mailgun integration, and the update for >>>>>> TLSv1.2 I >>>>>> did to my AIM >>>>> >>>>> >>>>> tag (before Steve updated it!). >>>>>> >>>>>> >>>>>> ……………... >>>>>> Kevin Bice >>>>>> 512.879.1653 >>>>>> fmpweb.com >>>>>> >>>>>> >>>>>> >>>>>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Sendgrid has a useful API, as other email services, but I cannot >>>>>>> convert this one properly : >>>>>>> >>>>>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ >>>>>>> --header 'Authorization: Bearer YOUR_API_KEY' \ >>>>>>> --header 'Content-Type: application/json' \ >>>>>>> --data '{"personalizations": [{"to": [{"email": >>>>>>> "[hidden email]"}]}],"from": {"email": >>>>>>> "[hidden email]"},"subject": "Hello, World!","content": >>>>>>> [{"type": >>>>>>> "text/plain", "value": "Heya!"}]}' >>>>>>> >>>>>>> Converted to : >>>>>>> >>>>>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', >>>>>>> -SendMIMEHeaders=Array('"Authorization: Bearer >>>>>>> YOUR_API_KEY"','Content-Type: application/json'), >>>>>>> -POSTParams='{"personalizations": [{"to": [{"email": >>>>>>> "[hidden email]"}]}],"from": {"email": >>>>>>> "[hidden email]"},"subject": "Hello, World!","content": >>>>>>> [{"type": >>>>>>> "text/plain", "value": "Heya!"}]}'); >>>>>>> >>>>>>> Result : {"errors":[{"message":"Permission denied, wrong >>>>>>> credentials","field":null,"help":null}]} >>>>>>> >>>>>>> Of course my credentials work because I've tested this curl sequence >>>>>>> into my terminal and my message is sent. >>>>>>> >>>>>>> Laurent >>>>>>> >>>>>>> ############################################################# >>>>>>> >>>>>>> This message is sent to you because you are subscribed to >>>>>>> the mailing list Lasso [hidden email] >>>>>>> Official list archives available at http://www.lassotalk.com >>>>>>> To unsubscribe, E-mail to: <[hidden email]> >>>>>>> Send administrative queries to <[hidden email]> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ############################################################# >>>>>> >>>>>> This message is sent to you because you are subscribed to >>>>>> the mailing list Lasso [hidden email] >>>>>> Official list archives available at http://www.lassotalk.com >>>>>> To unsubscribe, E-mail to: <[hidden email]> >>>>>> Send administrative queries to <[hidden email]> >>>>> >>>>> >>>>> >>>>> ############################################################# >>>>> >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list Lasso [hidden email] >>>>> Official list archives available at http://www.lassotalk.com >>>>> To unsubscribe, E-mail to: <[hidden email]> >>>>> Send administrative queries to <[hidden email]> >>>> >>>> >>>> >>>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>>> Steve Piercy Website Builder Soquel, CA >>>> <[hidden email]> <http://www.stevepiercy.com/> >>>> >>>> >>>> >>>> ############################################################# >>>> >>>> This message is sent to you because you are subscribed to >>>> the mailing list Lasso [hidden email] >>>> Official list archives available at http://www.lassotalk.com >>>> To unsubscribe, E-mail to: <[hidden email]> >>>> Send administrative queries to <[hidden email]> >> >> >> ############################################################# >> >> This message is sent to you because you are subscribed to >> the mailing list Lasso [hidden email] >> Official list archives available at http://www.lassotalk.com >> To unsubscribe, E-mail to: <[hidden email]> >> Send administrative queries to <[hidden email]> > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy Website Builder Soquel, CA > <[hidden email]> <http://www.stevepiercy.com/> > > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
In reply to this post by Laurent Gigon
I don’t think you can send a request body with include_url
2017-10-03 21:48 GMT+02:00 Laurent G <[hidden email]>: > could it be simpler to transform that into include_url ? > > curl --request POST \ > --url https://api.sendgrid.com/v3/mail/send \ > --header 'Authorization: Bearer MY_API_KEY' \ > --header 'Content-Type: application/json' \ > --data '{"personalizations": [{"to": [{"email": > "[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": > "Hello, World!","content": [{"type": "text/plain", "value": > "Heya!"}]}' > > 2017-10-03 15:40 GMT-04:00 Laurent G <[hidden email]>: > > :) > > > > Does Sendgrid require TLS v1.2 in its requests? > > I don't know > > > > What did you do to install and configure os_process? > > Do I need to install anything? > > > > Do you have sufficient permission in the environment to enable > os_process? > > I don't know, I'm currently checking my settings with Kevin > > > > What is your operating system and version? > > Mac OS 10.12.4 > > Lasso 8.6.3 > > > > Voilà ! > > > > 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder < > [hidden email]>: > >> Does Sendgrid require TLS v1.2 in its requests? > >> > >> What did you do to install and configure os_process? > >> > >> Do you have sufficient permission in the environment to enable > os_process? > >> > >> What is your operating system and version? > >> > >> --steve > >> > >> > >> On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: > >> > >> > >>> unable to execute os_process :( > >>> > >>> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: > >>>> > >>>> I still have a bunch of include_url tags in use, but I have moved to > >>>> sending actual curl > >>> > >>> requests via os_process and shell tags because I am also using 8.6.3. > >>>> > >>>> > >>>> I had to do this for my Mailgun integration, and the update for > TLSv1.2 I > >>>> did to my AIM > >>> > >>> tag (before Steve updated it!). > >>>> > >>>> ……………... > >>>> Kevin Bice > >>>> 512.879.1653 > >>>> fmpweb.com > >>>> > >>>> > >>>> > >>>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> wrote: > >>>>> > >>>>> Hi, > >>>>> > >>>>> Sendgrid has a useful API, as other email services, but I cannot > >>>>> convert this one properly : > >>>>> > >>>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ > >>>>> --header 'Authorization: Bearer YOUR_API_KEY' \ > >>>>> --header 'Content-Type: application/json' \ > >>>>> --data '{"personalizations": [{"to": [{"email": > >>>>> "[hidden email]"}]}],"from": {"email": > >>>>> "[hidden email]"},"subject": "Hello, World!","content": > [{"type": > >>>>> "text/plain", "value": "Heya!"}]}' > >>>>> > >>>>> Converted to : > >>>>> > >>>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send', > >>>>> -SendMIMEHeaders=Array('"Authorization: Bearer > >>>>> YOUR_API_KEY"','Content-Type: application/json'), > >>>>> -POSTParams='{"personalizations": [{"to": [{"email": > >>>>> "[hidden email]"}]}],"from": {"email": > >>>>> "[hidden email]"},"subject": "Hello, World!","content": > [{"type": > >>>>> "text/plain", "value": "Heya!"}]}'); > >>>>> > >>>>> Result : {"errors":[{"message":"Permission denied, wrong > >>>>> credentials","field":null,"help":null}]} > >>>>> > >>>>> Of course my credentials work because I've tested this curl sequence > >>>>> into my terminal and my message is sent. > >>>>> > >>>>> Laurent > >>>>> > >>>>> ############################################################# > >>>>> > >>>>> This message is sent to you because you are subscribed to > >>>>> the mailing list Lasso [hidden email] > >>>>> Official list archives available at http://www.lassotalk.com > >>>>> To unsubscribe, E-mail to: <[hidden email]> > >>>>> Send administrative queries to <[hidden email]> > >>>> > >>>> > >>>> > >>>> ############################################################# > >>>> > >>>> This message is sent to you because you are subscribed to > >>>> the mailing list Lasso [hidden email] > >>>> Official list archives available at http://www.lassotalk.com > >>>> To unsubscribe, E-mail to: <[hidden email]> > >>>> Send administrative queries to <[hidden email]> > >>> > >>> > >>> ############################################################# > >>> > >>> This message is sent to you because you are subscribed to > >>> the mailing list Lasso [hidden email] > >>> Official list archives available at http://www.lassotalk.com > >>> To unsubscribe, E-mail to: <[hidden email]> > >>> Send administrative queries to <[hidden email]> > >> > >> > >> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > >> Steve Piercy Website Builder Soquel, CA > >> <[hidden email]> <http://www.stevepiercy.com/> > >> > >> > >> > >> ############################################################# > >> > >> This message is sent to you because you are subscribed to > >> the mailing list Lasso [hidden email] > >> Official list archives available at http://www.lassotalk.com > >> To unsubscribe, E-mail to: <[hidden email]> > >> Send administrative queries to <[hidden email]> > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> > -- Mvh Johan Sölve ____________________________________ Montania System AB Halmstad Stockholm http://www.montania.se Johan Sölve Mobil +46 709-51 55 70 [hidden email] Kristinebergsvägen 17, S-302 41 Halmstad, Sweden Telefon +46 35-136800 | Fax +46 35-136801 ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
This is possible:
[*Include_URL*: 'http://www.example.com', -POSTParams='<xml> ... </xml>'] - Bil On Wed, Oct 4, 2017 at 12:04 AM, Johan Solve <[hidden email]> wrote: > I don’t think you can send a request body with include_url > > 2017-10-03 21:48 GMT+02:00 Laurent G <[hidden email]>: > > > could it be simpler to transform that into include_url ? > > > > curl --request POST \ > > --url https://api.sendgrid.com/v3/mail/send \ > > --header 'Authorization: Bearer MY_API_KEY' \ > > --header 'Content-Type: application/json' \ > > --data '{"personalizations": [{"to": [{"email": > > "[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": > > "Hello, World!","content": [{"type": "text/plain", "value": > > "Heya!"}]}' > > > > 2017-10-03 15:40 GMT-04:00 Laurent G <[hidden email]>: > > > :) > > > > > > Does Sendgrid require TLS v1.2 in its requests? > > > I don't know > > > > > > What did you do to install and configure os_process? > > > Do I need to install anything? > > > > > > Do you have sufficient permission in the environment to enable > > os_process? > > > I don't know, I'm currently checking my settings with Kevin > > > > > > What is your operating system and version? > > > Mac OS 10.12.4 > > > Lasso 8.6.3 > > > > > > Voilà ! > > > > > > 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder < > > [hidden email]>: > > >> Does Sendgrid require TLS v1.2 in its requests? > > >> > > >> What did you do to install and configure os_process? > > >> > > >> Do you have sufficient permission in the environment to enable > > os_process? > > >> > > >> What is your operating system and version? > > >> > > >> --steve > > >> > > >> > > >> On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: > > >> > > >> > > >>> unable to execute os_process :( > > >>> > > >>> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: > > >>>> > > >>>> I still have a bunch of include_url tags in use, but I have moved to > > >>>> sending actual curl > > >>> > > >>> requests via os_process and shell tags because I am also using 8.6.3. > > >>>> > > >>>> > > >>>> I had to do this for my Mailgun integration, and the update for > > TLSv1.2 I > > >>>> did to my AIM > > >>> > > >>> tag (before Steve updated it!). > > >>>> > > >>>> ……………... > > >>>> Kevin Bice > > >>>> 512.879.1653 > > >>>> fmpweb.com > > >>>> > > >>>> > > >>>> > > >>>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> > wrote: > > >>>>> > > >>>>> Hi, > > >>>>> > > >>>>> Sendgrid has a useful API, as other email services, but I cannot > > >>>>> convert this one properly : > > >>>>> > > >>>>> curl --request POST \ --url https://api.sendgrid.com/v3/mail/send > \ > > >>>>> --header 'Authorization: Bearer YOUR_API_KEY' \ > > >>>>> --header 'Content-Type: application/json' \ > > >>>>> --data '{"personalizations": [{"to": [{"email": > > >>>>> "[hidden email]"}]}],"from": {"email": > > >>>>> "[hidden email]"},"subject": "Hello, World!","content": > > [{"type": > > >>>>> "text/plain", "value": "Heya!"}]}' > > >>>>> > > >>>>> Converted to : > > >>>>> > > >>>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/mail/send > ', > > >>>>> -SendMIMEHeaders=Array('"Authorization: Bearer > > >>>>> YOUR_API_KEY"','Content-Type: application/json'), > > >>>>> -POSTParams='{"personalizations": [{"to": [{"email": > > >>>>> "[hidden email]"}]}],"from": {"email": > > >>>>> "[hidden email]"},"subject": "Hello, World!","content": > > [{"type": > > >>>>> "text/plain", "value": "Heya!"}]}'); > > >>>>> > > >>>>> Result : {"errors":[{"message":"Permission denied, wrong > > >>>>> credentials","field":null,"help":null}]} > > >>>>> > > >>>>> Of course my credentials work because I've tested this curl > sequence > > >>>>> into my terminal and my message is sent. > > >>>>> > > >>>>> Laurent > > >>>>> > > >>>>> ############################################################# > > >>>>> > > >>>>> This message is sent to you because you are subscribed to > > >>>>> the mailing list Lasso [hidden email] > > >>>>> Official list archives available at http://www.lassotalk.com > > >>>>> To unsubscribe, E-mail to: <[hidden email]> > > >>>>> Send administrative queries to <[hidden email] > > > > >>>> > > >>>> > > >>>> > > >>>> ############################################################# > > >>>> > > >>>> This message is sent to you because you are subscribed to > > >>>> the mailing list Lasso [hidden email] > > >>>> Official list archives available at http://www.lassotalk.com > > >>>> To unsubscribe, E-mail to: <[hidden email]> > > >>>> Send administrative queries to <[hidden email]> > > >>> > > >>> > > >>> ############################################################# > > >>> > > >>> This message is sent to you because you are subscribed to > > >>> the mailing list Lasso [hidden email] > > >>> Official list archives available at http://www.lassotalk.com > > >>> To unsubscribe, E-mail to: <[hidden email]> > > >>> Send administrative queries to <[hidden email]> > > >> > > >> > > >> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > >> Steve Piercy Website Builder Soquel, CA > > >> <[hidden email]> <http://www.stevepiercy.com/> > > >> > > >> > > >> > > >> ############################################################# > > >> > > >> This message is sent to you because you are subscribed to > > >> the mailing list Lasso [hidden email] > > >> Official list archives available at http://www.lassotalk.com > > >> To unsubscribe, E-mail to: <[hidden email]> > > >> Send administrative queries to <[hidden email]> > > > > ############################################################# > > > > This message is sent to you because you are subscribed to > > the mailing list Lasso [hidden email] > > Official list archives available at http://www.lassotalk.com > > To unsubscribe, E-mail to: <[hidden email]> > > Send administrative queries to <[hidden email]> > > > > > > -- > Mvh > Johan Sölve > ____________________________________ > Montania System AB > Halmstad Stockholm > http://www.montania.se > > Johan Sölve > Mobil +46 709-51 55 70 > [hidden email] > > Kristinebergsvägen 17, S-302 41 Halmstad, Sweden > Telefon +46 35-136800 | Fax +46 35-136801 > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> > ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
Aha, a string as postparams. It’s actually documented. My bad.
"POSTParams can also be passed a string which will be sent as the body of the POST” 2017-10-04 15:58 GMT+02:00 Bil Corry <[hidden email]>: > This is possible: > > [*Include_URL*: 'http://www.example.com', > -POSTParams='<xml> ... </xml>'] > > > - Bil > > On Wed, Oct 4, 2017 at 12:04 AM, Johan Solve <[hidden email]> > wrote: > > > I don’t think you can send a request body with include_url > > > > 2017-10-03 21:48 GMT+02:00 Laurent G <[hidden email]>: > > > > > could it be simpler to transform that into include_url ? > > > > > > curl --request POST \ > > > --url https://api.sendgrid.com/v3/mail/send \ > > > --header 'Authorization: Bearer MY_API_KEY' \ > > > --header 'Content-Type: application/json' \ > > > --data '{"personalizations": [{"to": [{"email": > > > "[hidden email]"}]}],"from": {"email": "[hidden email]"},"subject": > > > "Hello, World!","content": [{"type": "text/plain", "value": > > > "Heya!"}]}' > > > > > > 2017-10-03 15:40 GMT-04:00 Laurent G <[hidden email]>: > > > > :) > > > > > > > > Does Sendgrid require TLS v1.2 in its requests? > > > > I don't know > > > > > > > > What did you do to install and configure os_process? > > > > Do I need to install anything? > > > > > > > > Do you have sufficient permission in the environment to enable > > > os_process? > > > > I don't know, I'm currently checking my settings with Kevin > > > > > > > > What is your operating system and version? > > > > Mac OS 10.12.4 > > > > Lasso 8.6.3 > > > > > > > > Voilà ! > > > > > > > > 2017-10-03 15:08 GMT-04:00 Steve Piercy - Website Builder < > > > [hidden email]>: > > > >> Does Sendgrid require TLS v1.2 in its requests? > > > >> > > > >> What did you do to install and configure os_process? > > > >> > > > >> Do you have sufficient permission in the environment to enable > > > os_process? > > > >> > > > >> What is your operating system and version? > > > >> > > > >> --steve > > > >> > > > >> > > > >> On 10/3/17 at 2:26 PM, [hidden email] (Laurent G) pronounced: > > > >> > > > >> > > > >>> unable to execute os_process :( > > > >>> > > > >>> 2017-10-03 13:25 GMT-04:00 Kevin Bice <[hidden email]>: > > > >>>> > > > >>>> I still have a bunch of include_url tags in use, but I have moved > to > > > >>>> sending actual curl > > > >>> > > > >>> requests via os_process and shell tags because I am also using > 8.6.3. > > > >>>> > > > >>>> > > > >>>> I had to do this for my Mailgun integration, and the update for > > > TLSv1.2 I > > > >>>> did to my AIM > > > >>> > > > >>> tag (before Steve updated it!). > > > >>>> > > > >>>> ……………... > > > >>>> Kevin Bice > > > >>>> 512.879.1653 > > > >>>> fmpweb.com > > > >>>> > > > >>>> > > > >>>> > > > >>>>> On Oct 3, 2017, at 12:08 PM, Laurent G <[hidden email]> > > wrote: > > > >>>>> > > > >>>>> Hi, > > > >>>>> > > > >>>>> Sendgrid has a useful API, as other email services, but I cannot > > > >>>>> convert this one properly : > > > >>>>> > > > >>>>> curl --request POST \ --url https://api.sendgrid.com/v3/ > mail/send > > \ > > > >>>>> --header 'Authorization: Bearer YOUR_API_KEY' \ > > > >>>>> --header 'Content-Type: application/json' \ > > > >>>>> --data '{"personalizations": [{"to": [{"email": > > > >>>>> "[hidden email]"}]}],"from": {"email": > > > >>>>> "[hidden email]"},"subject": "Hello, World!","content": > > > [{"type": > > > >>>>> "text/plain", "value": "Heya!"}]}' > > > >>>>> > > > >>>>> Converted to : > > > >>>>> > > > >>>>> var('sendtest')=Include_URL('https://api.sendgrid.com/v3/ > mail/send > > ', > > > >>>>> -SendMIMEHeaders=Array('"Authorization: Bearer > > > >>>>> YOUR_API_KEY"','Content-Type: application/json'), > > > >>>>> -POSTParams='{"personalizations": [{"to": [{"email": > > > >>>>> "[hidden email]"}]}],"from": {"email": > > > >>>>> "[hidden email]"},"subject": "Hello, World!","content": > > > [{"type": > > > >>>>> "text/plain", "value": "Heya!"}]}'); > > > >>>>> > > > >>>>> Result : {"errors":[{"message":"Permission denied, wrong > > > >>>>> credentials","field":null,"help":null}]} > > > >>>>> > > > >>>>> Of course my credentials work because I've tested this curl > > sequence > > > >>>>> into my terminal and my message is sent. > > > >>>>> > > > >>>>> Laurent > > > >>>>> > > > >>>>> ############################################################# > > > >>>>> > > > >>>>> This message is sent to you because you are subscribed to > > > >>>>> the mailing list Lasso [hidden email] > > > >>>>> Official list archives available at http://www.lassotalk.com > > > >>>>> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists. > lassosoft.com> > > > >>>>> Send administrative queries to <Lasso-request@lists. > lassosoft.com > > > > > > >>>> > > > >>>> > > > >>>> > > > >>>> ############################################################# > > > >>>> > > > >>>> This message is sent to you because you are subscribed to > > > >>>> the mailing list Lasso [hidden email] > > > >>>> Official list archives available at http://www.lassotalk.com > > > >>>> To unsubscribe, E-mail to: <[hidden email] > > > > > >>>> Send administrative queries to <Lasso-request@lists. > lassosoft.com> > > > >>> > > > >>> > > > >>> ############################################################# > > > >>> > > > >>> This message is sent to you because you are subscribed to > > > >>> the mailing list Lasso [hidden email] > > > >>> Official list archives available at http://www.lassotalk.com > > > >>> To unsubscribe, E-mail to: <[hidden email]> > > > >>> Send administrative queries to <[hidden email] > > > > > >> > > > >> > > > >> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > > >> Steve Piercy Website Builder Soquel, CA > > > >> <[hidden email]> <http://www.stevepiercy.com/> > > > >> > > > >> > > > >> > > > >> ############################################################# > > > >> > > > >> This message is sent to you because you are subscribed to > > > >> the mailing list Lasso [hidden email] > > > >> Official list archives available at http://www.lassotalk.com > > > >> To unsubscribe, E-mail to: <[hidden email]> > > > >> Send administrative queries to <[hidden email]> > > > > > > ############################################################# > > > > > > This message is sent to you because you are subscribed to > > > the mailing list Lasso [hidden email] > > > Official list archives available at http://www.lassotalk.com > > > To unsubscribe, E-mail to: <[hidden email]> > > > Send administrative queries to <[hidden email]> > > > > > > > > > > > -- > > Mvh > > Johan Sölve > > ____________________________________ > > Montania System AB > > Halmstad Stockholm > > http://www.montania.se > > > > Johan Sölve > > Mobil +46 709-51 55 70 > > [hidden email] > > > > Kristinebergsvägen 17, S-302 41 Halmstad, Sweden > > Telefon +46 35-136800 | Fax +46 35-136801 > > > > ############################################################# > > > > This message is sent to you because you are subscribed to > > the mailing list Lasso [hidden email] > > Official list archives available at http://www.lassotalk.com > > To unsubscribe, E-mail to: <[hidden email]> > > Send administrative queries to <[hidden email]> > > > > ############################################################# > > This message is sent to you because you are subscribed to > the mailing list Lasso [hidden email] > Official list archives available at http://www.lassotalk.com > To unsubscribe, E-mail to: <[hidden email]> > Send administrative queries to <[hidden email]> > -- Mvh Johan Sölve ____________________________________ Montania System AB Halmstad Stockholm http://www.montania.se Johan Sölve Mobil +46 709-51 55 70 [hidden email] Kristinebergsvägen 17, S-302 41 Halmstad, Sweden Telefon +46 35-136800 | Fax +46 35-136801 ############################################################# This message is sent to you because you are subscribed to the mailing list Lasso [hidden email] Official list archives available at http://www.lassotalk.com To unsubscribe, E-mail to: <[hidden email]> Send administrative queries to <[hidden email]> |
Free forum by Nabble | Edit this page |