irritanterik / homey-http-request-actions

HTTP request actions for flows on Homey by Athom
16 stars 14 forks source link

Still got error v0.4.0 from githun #4

Closed filoor closed 8 years ago

filoor commented 8 years ago

if i do get https://autoremotejoaomgcd.appspot.com/sendmessage?key=APA91bGyxlKdasd3DS5Ssx2gbWPzC8KIaWUznv3tJJ8RT8jRWJ_m3WLFJKy_ZNYRvCAZG_C7bL2V4rnOTSdt8FMkasderELwqrVkQz5msFuVQqZRaC_PGsad3Nz4roLov_lOtVHburCXTil3aa33ff3eWADarkPEkRc20GpNOwSNbOR5RfQKt-jC1TBg&message=SMS%200644542136=:=TEST%20verstuurd&password=123456

still got a error Changed some values in te link

irritanterik commented 8 years ago

Do you have a screenshot of the card? And paste the JSON?

filoor commented 8 years ago

And paste the JSON? how you mean dont need a jason just a get http

1

irritanterik commented 8 years ago

You need to put the request querystring parameters in the JSON field (and thus use the HTTP Get JSON card). This is necessary because Homey will escape characters like & from the get URL. Use this JSON:

{

"key":"APA91bGyxlKdasd3DS5Ssx2gbWPzC8KIaWUznv3tJJ8RT8jRWJ_m3WLFJKy_ZNYRvCAZG_C7bL2V4rnOTSdt8FMkasderELwqrVkQz5msFuVQqZRaC_PGsad3Nz4roLov_lOtVHburCXTil3aa33ff3eWADarkPEkRc20GpNOwSNbOR5RfQKt-jC1TBg", "message":"SMS%200644542136=:=TEST%20verstuurd", "password":"123456" }

2016-02-23 14:41 GMT+01:00 filoor notifications@github.com:

And paste the JSON? how you mean dont need a jason jut a get url

[image: 1] https://cloud.githubusercontent.com/assets/3647638/13253275/922ea63c-da3b-11e5-9290-01d851830d14.jpg

— Reply to this email directly or view it on GitHub https://github.com/irritanterik/homey-http-request-actions/issues/4#issuecomment-187704026 .

filoor commented 8 years ago

Gone test it

filoor commented 8 years ago

STILL NOTING naamloos

irritanterik commented 8 years ago

And after removing the trailing ? at the URL?

2016-02-23 15:42 GMT+01:00 filoor notifications@github.com:

STILL NOTING [image: naamloos] https://cloud.githubusercontent.com/assets/3647638/13254962/0d069fa6-da44-11e5-8bb2-1da0761f9fba.png

— Reply to this email directly or view it on GitHub https://github.com/irritanterik/homey-http-request-actions/issues/4#issuecomment-187724112 .

filoor commented 8 years ago

Sorry also diden't help