REST API is protected by HMAC based authentication. What does including URL path in the message protect from?

I have came across a REST API for some commercial software, that checks authentication by requiring HMAC on concatenation of

http_method (GET, PUT, etc)
timestamp
payload (body of a POST / PUT request if any)
path (everything between http… Continue reading REST API is protected by HMAC based authentication. What does including URL path in the message protect from?

How could a server to server rest api communication be more secure, by using OAuth 2?

I created a large backend+frontend project for a client. They recently started a different project, and contracted an other company to develop and host it. Since they need some of the data from my project, they asked me to develop an api, … Continue reading How could a server to server rest api communication be more secure, by using OAuth 2?