

Hey everyone,
I would like to ask for some help with a POST web request. I am a new NAV developer, and, I want to create a method to create(POST) something, using API. API it self work fine, I've tested it in a SandBox, and I want to do the same, but from navision. I managet to GET data from API also. In the photo attached to this post, you can see my code for my POST web request. First of all I want to mention that I get a "400:Bad request" error(you can see it in image attached), second, I want to mention that my request header seems to be empty, because in the debugger,"headers" variable does not contain any values, and it is Uninitialized insted.
At this moment I am stuck, and have no why what the problem could be. I would apreciate any help, ideas or hints,
Thank you very much in advance.