Commit a731edb2 authored by Marco Delgado's avatar Marco Delgado
Browse files

Refresh application and deployment configuration

parent b61c6c8f
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+4 −0
Changes for .gitlab-ci.yml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
stages: [verify]
verify-docs:
  stage: verify
  script: test -s README.md
+5 −0
Changes for examples/create_request.py: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
import json
from urllib.request import Request, urlopen
request=Request('https://api.fieldharbor.xyz/api/requests',data=json.dumps({'subject':'Project handoff review','email':'team@example.com'}).encode(),headers={'Content-Type':'application/json'})
with urlopen(request) as response:
    print(response.read().decode())