Skip to content

How to set the body of a POST for a site #99

Answered by AnandChowdhary
metrue asked this question in Ideas
Discussion options

You must be logged in to vote

This has been added:

sites:
  method: POST
  url: https://example.com
  headers:
    - "Content-Type: application/json"
  body: '{ "name": "Anand" }'

You can put any string in body based on your content-type header. 😄

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AnandChowdhary
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #99 on December 16, 2020 15:00.