Hi there I need your help! Loving Xojo but I am getting started again.
I am busy with a webservice using Curl.
I bought the https://www.monkeybreadsoftware.de/xojo/plugin-curl.shtml plugin and it really works well.
i managed to provide my required header by just adding:
c.SetOptionHTTPHeader array("Authorization: Key xxxxxxxx", "Content-Type: application/json")
Now i need to provide inputs for my below service:
curl -X POST \\
-H "Authorization: Key YOUR_API_KEY" \\
-H "Content-Type: application/json" \\
but how do i provide the input part as seen above
dim d as string = (I NEED TO ADD THE INPUT DATA HERE)
Also do i need to set c.optionput =true ?
Looking forward to some help here! Thanks in advance!