ARI http method

Hello. there is “HTTP Request URI is” string in asterisk logs.
For example:

[2021-08-05 11:19:03] DEBUG[11531] http.c: HTTP Request URI is /ARI/channels/localhost.localdomain-1628151543.126/answer

Is it possible to print http method also, POST, GET, UPDATE or DELETE was requested?

Log messages aren’t something you can configure, if you don’t see it then it wasn’t placed into the log message for outputting and would require code modification. Some routes, however, you can know because they only accept one method.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.