Skip to content

Feature/rmq rpc#1

Open
safrio wants to merge 2 commits intopsylone:masterfrom
safrio:feature/rmq_rpc
Open

Feature/rmq rpc#1
safrio wants to merge 2 commits intopsylone:masterfrom
safrio:feature/rmq_rpc

Conversation

@safrio
Copy link

@safrio safrio commented Oct 12, 2022

No description provided.

module Api
def update_coordinates(id, coordinates)
payload = { id: id, coordinates: coordinates }.to_json
connection.post('update_coordinates', payload)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для обновления логичней было бы использовать patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants