This repository has been archived by the owner on Dec 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8289a98
commit 547b137
Showing
5 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "1eaa74c4-2d76-45f0-bd34-bff5d96f0ba8", | ||
"name": "Form Data", | ||
"description": "Just a collection with a form data post for test", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "Register New User", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "formdata", | ||
"formdata": [ | ||
{ | ||
"key": "name", | ||
"value": "New User", | ||
"description": "full name of the user (accepts spaces)", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "email", | ||
"value": "newuser@example.com", | ||
"description": "email of the user (for notifications and login)", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "password", | ||
"value": "pasword123", | ||
"description": "password (to be used for logging in)", | ||
"type": "text" | ||
} | ||
] | ||
}, | ||
"url": "https://api.io/register" | ||
}, | ||
"response": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "1eaa74c4-2d76-45f0-bd34-bff5d96f0ba8", | ||
"name": "Form Data", | ||
"description": "Just a collection with a form data post for test", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "Register New User", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "formdata", | ||
"formdata": [ | ||
{ | ||
"key": "name", | ||
"value": "New User", | ||
"description": "full name of the user (accepts spaces)", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "email", | ||
"value": "newuser@example.com", | ||
"description": "email of the user (for notifications and login)", | ||
"type": "text" | ||
}, | ||
{ | ||
"key": "password", | ||
"value": "pasword123", | ||
"description": "password (to be used for logging in)", | ||
"type": "text" | ||
} | ||
] | ||
}, | ||
"url": { | ||
"raw": "https://api.io/register", | ||
"protocol": "https", | ||
"host": [ | ||
"api", | ||
"io" | ||
], | ||
"path": [ | ||
"register" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: Form Data | ||
description: Just a collection with a form data post for test | ||
version: 1.0.0 | ||
servers: | ||
- url: https://api.io | ||
paths: | ||
/register: | ||
post: | ||
tags: | ||
- default | ||
summary: Register New User | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
schema: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
description: full name of the user (accepts spaces) | ||
example: New User | ||
email: | ||
type: string | ||
description: email of the user (for notifications and login) | ||
example: newuser@example.com | ||
password: | ||
type: string | ||
description: password (to be used for logging in) | ||
example: pasword123 | ||
responses: | ||
'200': | ||
description: Successful response | ||
content: | ||
application/json: {} |