how to use the post method in the web component to update a .json


I’m having difficulty updating a .json file that is hosted on app.pinata.cloud. I was able to read the .json, but in the step of updating information in the file, I can’t send it to my pinata, and I believe that my difficulty I’m trying to understand how the web component header works and how to authorize sending, in short I’m lost and not even artificial intelligence could solve it, can anyone help me?

This depends on the API… any link to the API documentation?

Generally first set the header, then send a GET or POST request
Currently you sent a GET request, then set the header and then send a POST request, which obviously will not work

And next time please set the language to English before taking a screenshot

Taifun