if I create a API using mops server package with Motoko,
When I deploy that locally, Can I access it using postman? and How
server.get(“/list”, func(req : Request, res : ResponseClass) : async Response {
res.send({
status_code = 200;
headers = [(“Content-Type”, “text/plain”)];
body = Text.encodeUtf8(“Hello, world!”);
streaming_strategy = null;
cache_strategy = #default;
});
});