-
Notifications
You must be signed in to change notification settings - Fork 0
POST command
Alvin Cheng edited this page Feb 2, 2023
·
2 revisions
This is the post command, this command is used for sending a http post request to a remote server. The first argument is the URL to send the request to. The second argument is the data in an object format, more information about the object command can be found here. And finally, the final argument is the variable to return the data into. If you did not understand what I just said, here's an example!!
POST is a method of communicating with a remote server, another method of communicating with a remote server on REST can be GET. For more information regrading POSTor GET methods you can checkout this post!
$OBJ_VARIABLE = (object (key: "<VALUE>";));
$OBJ_RETURN_VALUE = (post "<URL>" $OBJ_VARIABLE);
- Home
- Setup
- Print command
- Variables and set command
- Append command
- Array command
- Call command
- Clear command
- Compare command
- Concat command
- Create command
- Delay command
- Delete command
- Disable command
- Enable command
- Exit command
- Export command
- Fetch command
- Functions and the function command
- Get command
- If statements
- Import command
- Length command
- Load string command
- Object command
- POST command
- Prompt command
- Read command
- Remove command
- Repeat command
- Shell command
- Write command
- Calculate command
- Sin cos and tan commands
- PI command
- Rand command
- Round command
- Sqrt command
- Delete message command
- Get messages command
- Follow user command
- Get public rooms command
- Get rooms command
- Join room command
- Login command
- On message command
- Remove room command
- Room exists command
- Send message command
- Signout command
- Final words&thoughts