Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Nov 12, 2023
1 parent 8eeb2fe commit 9f99429
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 36 deletions.
45 changes: 45 additions & 0 deletions docs/geting_further/endpoints_structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
layout: page
title: Endpoints Structure
permalink: /getting-further/endpoints/
parent: Getting Further
nav_order: 1
---

| Name | Desc | Examples |
|-------------------|---------------------|-------------------------------------------|
| protocol | Endpoint's protocol | http |
| method | Endpoint's Method | POST |
| url | Base URL + Path | https://testapp.internal.domains/comments |
| params | Parameters (Array) | [] |
| params.name | Parameter's name | title |
| params.param_type | Parameter's type | json |
| params.value | Parameter's value | this_is_value |

```json
[
...
{
"method": "POST",
"params": [
{
"name": "article_slug",
"param_type": "json",
"value": ""
},
{
"name": "title",
"param_type": "json",
"value": ""
},
{
"name": "id",
"param_type": "json",
"value": ""
}
],
"protocol": "http",
"url": "https://testapp.internal.domains/comments"
}
]
```
36 changes: 0 additions & 36 deletions docs/geting_further/json.md

This file was deleted.

0 comments on commit 9f99429

Please sign in to comment.