p17.10/script/__curl

11 lines
253 B
Plaintext
Raw Permalink Normal View History

2024-10-10 13:22:02 +00:00
curl -X POST http://192.168.80.31:8080/p10.10/php/post.php \
-H "Content-Type: application/json" \
-d '{
"ln": "Kowalski",
"fn": "Jan",
"email": "jan.kowalski@example.com",
"subject": "Test subject",
"path": "/path/to/photo.jpg"
}'