This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

API - Sample Add Attachment via Powershell?

I'm very new to Invoke-RestMethod and have been successful at pulling the data that I want.   Thanks to a few posts I've seen here. 


One challenge that seems to stump me is how to add an attachment to an incident via powershell.  I see the api docs have a curl example.  I have not seen any PS examples and my poor brain is unable to convert the syntax of curl to Invoke-RestMethod.