I am trying to replicate DeepL (translator service) curl request from the command line.

This is currently what my code looks like and I am trying to replicate this type of schema with an extra parameter:

Assuming all of the values of called functions return their appropriate strings, I am still getting a 403. Am I not replicating this correctly?
Thank you for your time! I know this is not an issue related to the project itself and more of my understanding of curl but I would further like some guidance if possible! Thank you for your time!
I am trying to replicate DeepL (translator service) curl request from the command line.

This is currently what my code looks like and I am trying to replicate this type of schema with an extra parameter:

Assuming all of the values of called functions return their appropriate strings, I am still getting a 403. Am I not replicating this correctly?
Thank you for your time! I know this is not an issue related to the project itself and more of my understanding of curl but I would further like some guidance if possible! Thank you for your time!