Skip to content

Requests are broken after request with body #242

Closed Answered by gorillamoe
sgatu asked this question in Q&A
Discussion options

You must be logged in to vote

This here should work:

@host = http://localhost:3000
@authorization = Bearer xxxxxxxxxxxxxxxxxxxxxxxxx
@domain_id = 1834991192461910016
@template_id = 1835007224123596800
@email_id = 1832899994003808256

# Get domains endpoint

GET {{host}}/domain
Authorization: {{authorization}}

###

# Get single domain

GET {{host}}/domain/{{domain_id}}
Authorization: {{authorization}}

###

# Create new domain

POST {{host}}/domain
Authorization: {{authorization}}
Content-Type: application/json

{
	"name": "domain.tld",
	"region": "eu-west-1"
}

###

# Delete domain

DELETE {{host}}/domain/{{domain_id}}?full=true
Authorization: {{authorization}}

###

# Create a template

POST {{host}}/template
Author…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@sgatu
Comment options

@Grueslayer
Comment options

Comment options

You must be logged in to vote
2 replies
@sgatu
Comment options

@Grueslayer
Comment options

Answer selected by sgatu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants