This repository is a sample NF for a simple HTTP service! Try adding more services and learn how to collaborate using GitHub.
make
./bin/nf -c config/nfcfg.yaml> curl -X GET http://127.0.0.163:8000/default/
"Hello free5GC!"
> curl -X GET http://127.0.0.163:8000/spyfamily/
"Hello SPYxFAMILY!"
> curl -X GET http://127.0.0.163:8000/spyfamily/character/Loid
"Character: Loid Forger"
> curl -X GET http://127.0.0.163:8000/onepiece/
"Hello Straw Hat Pirates!"
> curl -X POST http://127.0.0.163:8000/onepiece/crew \
-H "Content-Type: application/json" \
-d '{"name":"Jinbe"}'
"Jinbe has joined the Straw Hat crew!"> go test -v ./...