significance of content-type (content-type : application/json) and charset in inbound REST API calls
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 12:22 AM
What is the significance of content-type and charset in inbound REST API calls (Table APIs) in ServiceNow ?
If we add these in the header of the REST API call,
How does ServiceNow consider if request body (payload) sends display values (for the choice and reference fields) for an insert or update at the table ?
Eg : caller in the json body has "Andre Smith" - for Incident or HR Case table API ; Will ServiceNow take the sys_id from sys_user table and create the incident or case ?
Can someone explain what does ServiceNow do when it reads content-type and charset from REST APIs ?
0 REPLIES 0