(Solved) Postman request not working on Xano to generate JWT token

I am using import cURL from Postman.

Now after importing successfully, the same request that worked on Postman doesn't work on Xano.

Been working on this for a long time and really scratching my head trying to work out what to do. Any help would be appreciated.

(update)
OK Solved it was really simple. Similar to my last issue, this is some sort of text issue in Xano API calls.
All I did was create a variable, put the privateKey inside it, and then referenced the variable in the API call rather than add raw text.

Note
• privateKey did not work as raw text in api request
• privateKey did not work referencing an environment variable of the raw text
• privateKey only worked creating a variable in the function stack with the raw text
Working with APIs
1 reply