curl command to invoke rest api with file name code example Example: how to hit rest api using curl curl -I https://www.bookmarks.dev/api/public/bookmarks Copy