Files
services/examples/sunnah/hadiths/curl/listTheHadithsInABook.sh

7 lines
177 B
Bash
Executable File

curl "http://localhost:8080/sunnah/Hadiths" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"book": 1,
"collection": "bukhari"
}'