News:

  • June 08, 2026, 06:59:13 AM

Login with username, password and session length

Author Topic: Responding to an HTTP Post  (Read 7209 times)

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Responding to an HTTP Post
« on: June 07, 2021, 01:39:00 PM »
How would I write a program to  receive data from an HTTP POST from another device?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: Responding to an HTTP Post
« Reply #1 on: June 07, 2021, 02:17:28 PM »
How would I write a program to  receive data from an HTTP POST from another device?

The HTTPCMD instruction allows you to specify the POST command. All commands consist of a request and response, so if you want the contents of the response, you just provide a buffer for the response and we will return it. Is that what you are asking?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Responding to an HTTP Post
« Reply #2 on: June 07, 2021, 02:51:41 PM »
Another device will initiate a POST to the BRX. 

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: Responding to an HTTP Post
« Reply #3 on: June 07, 2021, 03:28:30 PM »
Another device will initiate a POST to the BRX.

The BRX server doesn't support POST, only GET, and only to read the server, the file systems, or the REST API.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO