This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /api/createRoom HTTP/1.1 | |
Host: seusite.telemedicina.drtis.com.br | |
accesskey: SUA_CHAVE_DE_ACESSO | |
Content-Type: application/json | |
{ | |
"doctor": { | |
"id": "abc123", | |
"name": "José da Silva", | |
"classDocumentType": "CRM", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const http = require('http'); | |
const axios = require('axios'); | |
const router = express.Router(); | |
const app = express(); | |
app.use(router); | |
const spelpausConfig = { | |
URL: 'https://testapi.spelpaus.se/api/blocking-info/22', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |