DD.WellWorkover.Cloud/AsbCloudWebApi/Rest/Gtr.http

31 lines
956 B
HTTP

@baseUrl = http://127.0.0.1:5000
@contentType = application/json
@auth = Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCJ9.eyJpZCI6IjEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZGV2IiwiaWRDb21wYW55IjoiMSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6InJvb3QiLCJuYmYiOjE2NjI1NDgxNjIsImV4cCI6MTY5NDEwNTc2MiwiaXNzIjoiYSIsImF1ZCI6ImEifQ.OEAlNzxi7Jat6pzDBTAjTbChskc-tdJthJexyWwwUKE
@uid = 20210101_000000000
@idCluster = 1
@idWell = 1
# https://marketplace.visualstudio.com/items?itemName=humao.rest-client
###
GET {{baseUrl}}/api/GtrWits/{{idWell}}
Content-Type: {{contentType}}
accept: */*
Authorization: {{auth}}
### Post
POST {{baseUrl}}/api/GtrWits/{{uid}}
Content-Type: {{contentType}}
accept: */*
Authorization: {{auth}}
[{
"id":1,
"date": "2023-04-18T08:41:49.332Z",
"items": {
"1": 1,
"2": 1.1,
"3": "string1"
}
}]