HTTP Server Profile > Payload Format

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

HTTP Server Profile > Payload Format

L0 Member

Hi Everyone,

 

Device > Server Profiles > HTTP
I created a server profile, however, My curl request is not working, Can you kindly provide any information about how can I fill those fields (Headers, Parameter information and Payload)? How can I translate the curl request on those fields?

 

Fields that I need to fit on it:

 

curl --request POST \
  --url '/rest/api/3/issue' \
  --user 'email@example.com:<apitoken>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "update": {},
  "fields": {
    "summary": "Main order flow broken",
    "issuetype": {
      "id": "10000"
    },
    "project": {
      "id": "10000"
    },
    "description": {
      "type": "doc",
      "version": 1,
      "content": [
        {
          "type": "paragraph",
          "content": [
            {
              "text": "Order entry fails when selecting supplier.",
              "type": "text"
            }
          ]
        }
      ]
    },
  }
}'

 

 

PayloadFormat.jpg

 

Thank you in advance

 

 

1 REPLY 1

L5 Sessionator

Here's a good place to start (link). My payload to an on-prem HTTP server is:

 

message=

$receive_time

Device: $device_name

Description:

$opaque

 

LINE-Notify.png

 

Screenshot 2021-07-11 at 2.21.30 PM.png

 

Help the community! Add tags and mark solutions please.
  • 3348 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!