srv to api

This commit is contained in:
Михаил Капелько
2025-08-16 23:54:19 +03:00
parent aef61b2ff4
commit 1eb4d7e2d2
4 changed files with 49 additions and 1 deletions

3
api/test Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
curl -X POST -d '.' http://localhost:8001/api/consult
curl -X POST -d '{"name":"test-name","phone":"+79001002030"}' http://localhost:8001/api/consult