Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Curl Typo and Postman Collection #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions FonoAPI.postman_collection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"info": {
"_postman_id": "252575fd-0b6b-407b-95b7-d28446b0efc5",
"name": "FonoAPI",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "GET Device",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "token",
"value": "YOUR TOKEN HERE",
"type": "text"
},
{
"key": "limit",
"value": "5",
"type": "text"
},
{
"key": "device",
"value": "A8",
"type": "text"
}
]
},
"url": {
"raw": "https://fonoapi.freshpixl.com/v1/getdevice",
"protocol": "https",
"host": [
"fonoapi",
"freshpixl",
"com"
],
"path": [
"v1",
"getdevice"
]
},
"description": "Gets information from a device "
},
"response": []
}
]
}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,12 @@ available options
###### Curl Example

```bash
curl https://fonoapi.freshpixl.com/v1/getdevice -XPOST -H 'Accept: application/json' -d 'token=YOUR_TOKEN_HERE&limit=5&device=A8'
curl https://fonoapi.freshpixl.com/v1/getdevice -X POST -H 'Accept: application/json' -d 'token=YOUR_TOKEN_HERE&limit=5&device=A8'
```

###### Postman Collection
Library is here : [FonoAPI.postman_collection](FonoAPI.postman_collection)

###### Python
Library is here : https://github.com/jesusperiago/fonoapi

Expand Down