Move
POST {{base_url}}move?direction=up&steps=50
Open the Params
tab, then replace the value of the direction parameter with a direction, for example up
.
Then, set a number of steps your character should take in that direction.
Be careful to not walk out of the map! Start with a small amount of steps to try it out first.
Once set up, click Send and notice how your character is moving in the direction you set up in the call.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
direction | string | Indicate direction, can be one of up, down, left, right | |
steps | number | Indicate the distance you want to move in the specified direction, positive integer |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |