How to retrieve the cURL file?

💻 Environment/Context

  • cURL file
  • Tech escalation
  • 500 error
  • 401 error

 

❓ Issue/Question

  • How to retrieve the cURL file?

 

👌 Resolution/Answer

  • Right-click anywhere on the page and select "Inspect",
    • OR press Cmd + Option + I (Mac) / Ctrl + Shift + I (Windows).
  • Click on the Network tab
  • Replicate the behavior on the SP platform (execute the action that’s failing).
  • Find the failed request (highlighted in red).
  • Right-click on it, select "Copy" → "Copy as cURL".

 

🔖 Notes 

  •