1. Android Central Question's Avatar
    Hi,
    I'm trying to add a "rest" command that should change a state on my domotic system (Openhab).
    I've tried to use either a "POST" or "PUT" kind of command, passing a simple "ON" or "{"data":"ON"} in optional data...
    but still without effect...
    Using the chrome add-on to compose customs "http request commands", I simply set the command to "POST", set the URL and finally in the field "RAW DATA" I specify "ON"; it works without problem,...
    How can I define the same data paket in NFC Tool Actions?

    Thank you
    Christian
    01-04-2019 02:58 AM
  2. belodion's Avatar
    Would you like this to be moved to our Developer forums or similar? It sounds rather technical for AAQ. https://forums.androidcentral.com/sh...d.php?t=409154
    01-04-2019 06:09 AM
  3. Rukbat's Avatar
    Neither NFC nor HTTP headers should be used for that large a packet of data. (Not JSON either.) You could try sending it via FTP, if the receiving end is capable of FTP. (After all, that's what FTP is for.)

    (@belodion - it's more of a programming and internet problem than an Android problem. Most Android developers probably don't know REST from JSON -[that's a joke, but it's true].)
    belodion likes this.
    01-04-2019 04:27 PM

Similar Threads

  1. Replies: 1
    Last Post: 01-04-2019, 02:44 PM
  2. Only partial pictures are being sent via text
    By Android Central Question in forum Ask a Question
    Replies: 2
    Last Post: 01-04-2019, 02:42 PM
  3. I'm trying to get my photos transferred to this phone
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 01-04-2019, 06:12 AM
  4. How do I stop full screen pop up ads on my LG Fortune 2
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 01-04-2019, 05:29 AM
LINK TO POST COPIED TO CLIPBOARD