Commit a25984b8 authored by José San Juan's avatar José San Juan

Update README.md

parent 9f705f53
......@@ -45,7 +45,7 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJjcmVhdGVkIjoxNDc1...
### Get the status of one switch by his name
#### Request
**URL:** api/v1/switches/[SWITCH_NAME]
**Method:** GET
**Method:** GET
**Accepts:** application/json
#### Success Response:
......@@ -73,7 +73,7 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJjcmVhdGVkIjoxNDc1...
---
### Set the status of one or multiple switches ###
#### Request ####
**URL:** api/v1/switches/
**URL:** api/v1/switches/
**Method:** POST
**Accepts:** application/json
**Content-Type:** application/json;charset=UTF-8
......@@ -138,7 +138,7 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJjcmVhdGVkIjoxNDc1...
### Get the status of the devices thats handle the switches
### Request
**URL:** api/v1/devices
**URL:** api/v1/devices
**Method:** GET
**Accepts:** application/json
#### Success Response:####
......@@ -191,7 +191,7 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJjcmVhdGVkIjoxNDc1...
---
### Set the status of one or multiple devices ###
#### Request ####
**URL:** api/v1/devices/
**URL:** api/v1/devices/
**Method:** POST
**Accepts:** application/json
**Content-Type:** application/json;charset=UTF-8
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment