Calling inbound API with OAUTH 2.0 via Bearer token but at SNOW end header shows as "Basic"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 02:22 AM
In testing an inbound API, I made a call via Postman by passing the Authorization token via Bearer keyword. But in the scripted rest resource, when I do
gs.log(request.headers)
I get the following in the syslog table.
"authorization": "Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
So I'm wondering why is it doing so? Why isn't it saying "authorization": "Bearer xxxxxxxxxx"?
0 REPLIES 0