1) Give a description of the problem
I’m having issues of understanding how to post. I have a instructions from API documentation and it says:
Examples
Request example using Curl
curl --request POST
–url https://admin.right.xx/api/integration/openpermissions
–header ‘Right-Api-Key: d217d336-550g-4dd3-b834-b7deb95b7607’
–header ‘content-type: application/vdn.right.v1+json’
–data ‘{“right”:{“id”:“66c1b208-7b31-4747-a331-fc9753634104”},“id”: “ext-1”}’
Full request data sent (example)
POST /api/integration/openpermissions HTTP/1.1
Host: admin.right.xx
Accept: application/vdn.right.v1+json
Right-Api-Key: d217d336-550g-4dd3-b834-b7deb95b7607
{
"right": {
"id": "66c1b208-7b31-4747-a331-fc9753634104"
},
"id": "ext-1"
}
Am I able to somehow post or send curl by using webcore. I tried to create piston and chose “send web request” but I’m struggling to understand where to put and what commands. Is there anyone who would like to help me a little?
Examples are examples. There is no real API-keys if someone is freaking out.