WellService/proxy/views.py
2024-08-05 15:59:09 +03:30

20 lines
398 B
Python

from django.shortcuts import render
from django.http import JsonResponse
import json
import requests
# Create your views here.
def send_wells(request):
print("sending wells")
payload = {'data':[
{
"id": 1,
"licence": "12-d-13",
},
{
"id": 2,
"licence": "16-a-111",
},]
}
return JsonResponse(payload)