Leia: Not able to HTTP from Tasker (Android) anymore
#1
Hi,

since the code change I'm not able to do a HTTP Post from Tasker (Android) anymore.

Example:
Code:
Type: http post
Server:port: http://127.0.0.1:8080
Path: jsonrpc
Data/File: {"jsonrpc": "2.0", "method": "Input.Home", "id": 1}
Content Type: application/json

Response:
Quote:{"error":{"code":-32099,"message":"Bad client permission."},"id":1,"jsonrpc":"2.0"}

Is it a bug, or a feature? Wink

Any hints for a workaround?
Reply
#2
What language are you using there?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
Well, I don't know which language it is.

I just use a default feature of tasker:
Add Task --> Add Action --> Network --> HTTP Post
Reply
#4
Sorry, yes, I should have read your post better shouldn't I?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#5
Have you tried quoting the id? like "id": "1" instead of "id": 1
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#6
No, but I'll try it later today
Reply

Logout Mark Read Team Forum Stats Members Help
Leia: Not able to HTTP from Tasker (Android) anymore0