How to debug this Fetch error in express.js

I am trying to make a request to an api from express.js server, I made the api call from postman and then I consoled logged the req headers and req body before passing in it in the fetch request. the req headers and body prints out as expected with the right info from postman however I get this error in the response and I am not able to go past that error, every answer I found out there doesn’t seem to be relevant. it is definitely something to do with authorization but I am not sure what is the issue

FetchError: request to failed, reason: write EPROTO 4507864512:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:…/deps/openssl/openssl/ssl/record/ssl3_record.c:332:

at ClientRequest.<anonymous> (/Users/nextpax-med/Downloads/newServer/Node-Boilerplate/node_modules/node-fetch/index.js:133:11)
at ClientRequest.emit (events.js:321:20)
at TLSSocket.socketErrorListener (_http_client.js:432:9)
at TLSSocket.emit (events.js:321:20)
at errorOrDestroy (internal/streams/destroy.js:128:12)
at onwriteError (_stream_writable.js:463:3)
at onwrite (_stream_writable.js:484:7)
at internal/streams/destroy.js:60:7
at TLSSocket.Socket._destroy (net.js:673:5)
at TLSSocket.destroy (internal/streams/destroy.js:55:8) {

name: ‘FetchError’,
message: ‘request to failed, reason: write EPROTO 4507864512:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:…/deps/openssl/openssl/ssl/record/ssl3_record.c:332:\n’,
type: ‘system’,
errno: ‘EPROTO’,
code: ‘EPROTO’
} err
me server code below

const express = require('express')
const path = require('path')
const bodyParser = require('body-parser')
const fetch = require('isomorphic-fetch')
const https = require('https')
const http = require('http')
const tls = require('tls');
const { fstat } = require('fs')
const fs =require('fs')

const app = express()
const router = express.Router()
const PORT = process.env.PORT || 9000

app.listen(PORT, function(){
  console.log(`API running on PORT ${PORT}`)
app.use(bodyParser.urlencoded({extended: true}))
app.use('/api', router)

app.options(/(.*)/, (req, res, next) => {
  res.sendStatus(200) // Always respond OK on OPTIONS requests.

// Serve static assets
app.use(express.static(path.resolve(__dirname, 'build')))

router.get('/', function (req, res) {

.get(  (req,res)=>{

      method: 'POST',

    }).then(reply=> {
      console.log(reply ,'resss here')