Step 1:
End Points: Post Method
https://instance.service-now.com/api/now/attachment/file?table_name=incident&table_sys_id=e02e21e947f4f1100d901d98036d4300&file_name=addharcard(4) (1)
Step 2:
Step 3:
Output:
Send attachment from third party to ServiceNow using the Scripted Rest API
Working Code Edited question August 24, 2023