postmanでcurlコマンドをexportする

右の方にある</>をclickすると取得可能

Generate code snippets from API requests | Postman Docs

Postman can convert an API request into a code snippet. You can then use the generated code snippet in your front-end application to make calls to an API.

learning.postman.com