remove curl files

This commit is contained in:
Asim Aslam
2021-10-29 11:49:15 +01:00
parent eb73d115f2
commit 8604d436eb
127 changed files with 0 additions and 895 deletions

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/address/LookupPostcode" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"postcode": "SW1A 2AA"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/answer/Question" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"query": "microsoft"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/cache/Decrement" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"key": "counter",
"value": 2
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/cache/Delete" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"key": "foo"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/cache/Get" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"key": "foo"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/cache/Increment" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"key": "counter",
"value": 2
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/cache/Set" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"key": "foo",
"value": "bar"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/crypto/History" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "BTCUSD"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/crypto/News" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "BTCUSD"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/crypto/Price" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "BTCUSD"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/crypto/Quote" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "BTCUSD"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/currency/Codes" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/currency/Convert" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"amount": 10,
"from": "USD",
"to": "GBP"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/currency/Convert" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"from": "USD",
"to": "GBP"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/currency/History" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"code": "USD",
"date": "2021-05-30"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/currency/Rates" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"code": "USD"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/db/Count" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"table": "users"
}'

View File

@@ -1,12 +0,0 @@
curl "https://api.m3o.com/v1/db/Create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"record": {
"age": 42,
"id": "1",
"isActive": true,
"name": "Jane"
},
"table": "users"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/db/Delete" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"id": "1",
"table": "users"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/db/Read" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"query": "age == 43",
"table": "users"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/db/Truncate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"table": "users"
}'

View File

@@ -1,10 +0,0 @@
curl "https://api.m3o.com/v1/db/Update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"record": {
"age": 43,
"id": "1"
},
"table": "users"
}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/email/Send" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"from": "Awesome Dot Com",
"subject": "Email verification",
"textBody": "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/emoji/Find" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"alias": ":beer:"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/emoji/Flag" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"alias": "GB"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/emoji/Print" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"text": "let's grab a :beer:"
}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/emoji/Send" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"from": "Alice",
"message": "let's grab a :beer:",
"to": "+44782669123"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/evchargers/ReferenceData" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,16 +0,0 @@
curl "https://api.m3o.com/v1/evchargers/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"box": {
"bottom_left": {
"latitude": 51.52627543859447,
"longitude": -0.03635349400295168
},
"top_right": {
"latitude": 51.56717121807993,
"longitude": -0.002293530559768285
}
},
"max_results": 2
}'

View File

@@ -1,11 +0,0 @@
curl "https://api.m3o.com/v1/evchargers/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"distance": 2000,
"location": {
"latitude": 51.53336351319885,
"longitude": -0.0252
},
"max_results": 2
}'

View File

@@ -1,14 +0,0 @@
curl "https://api.m3o.com/v1/evchargers/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"distance": 2000,
"levels": [
"3"
],
"location": {
"latitude": 51.53336351319885,
"longitude": -0.0252
},
"max_results": 2
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/file/Delete" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"path": "/document/text-files/file.txt",
"project": "examples"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/file/List" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"project": "examples"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/file/Read" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"path": "/document/text-files/file.txt",
"project": "examples"
}'

View File

@@ -1,10 +0,0 @@
curl "https://api.m3o.com/v1/file/Save" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"file": {
"content": "file content example",
"path": "/document/text-files/file.txt",
"project": "examples"
}
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/forex/History" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "GBPUSD"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/forex/Price" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "GBPUSD"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/forex/Quote" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "GBPUSD"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/function/Call" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "my-first-func",
"request": {}
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/function/Delete" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "my-first-func",
"project": "tests"
}'

View File

@@ -1,10 +0,0 @@
curl "https://api.m3o.com/v1/function/Deploy" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"entrypoint": "helloworld",
"name": "my-first-func",
"project": "tests",
"repo": "github.com/m3o/nodejs-function-example",
"runtime": "nodejs14"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/function/Describe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "my-first-func",
"project": "tests"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/function/List" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,9 +0,0 @@
curl "https://api.m3o.com/v1/geocoding/Lookup" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"address": "10 russell st",
"city": "london",
"country": "uk",
"postcode": "wc2b"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/geocoding/Reverse" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"latitude": 51.5123064,
"longitude": -0.1216235
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/gifs/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"limit": 2,
"query": "dogs"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/google/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"query": "how to make donuts"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/helloworld/Call" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "John"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/helloworld/Stream" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "not supported"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/holidays/Countries" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/holidays/List" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"country_code": "GB",
"year": 2022
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/id/Generate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"type": "bigflake"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/id/Generate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"type": "shortid"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/id/Generate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"type": "snowflake"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/id/Generate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"type": "uuid"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/id/Types" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/image/Convert" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "cat.jpeg",
"outputURL": true,
"url": "somewebsite.com/cat.png"
}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/image/Resize" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"height": 100,
"width": 100
}'

View File

@@ -1,12 +0,0 @@
curl "https://api.m3o.com/v1/image/Resize" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"cropOptions": {
"height": 50,
"width": 50
},
"height": 100,
"width": 100
}'

View File

@@ -1,10 +0,0 @@
curl "https://api.m3o.com/v1/image/Resize" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"height": 100,
"name": "cat.png",
"outputURL": true,
"width": 100
}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/image/Upload" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAx0lEQVR4nOzaMaoDMQyE4ZHj+x82vVdhwQoTkzKQEcwP5r0ihT7sbjUTeAJ4HCegXQJYfOYefOyjDuBiz3yjwJBoCIl6QZOeUjTC1Ix1IxEJXF9+0KWsf2bD4bn37OO/c/wuQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9Sa/NG94Tf3j4WBdaxudMEkn4IM2rZBA0wBrvo7aOcpj2emXvLeVt0IGm0GVXUj91mvAAAA//+V2CZl+4AKXwAAAABJRU5ErkJggg==",
"name": "cat.jpeg",
"outputURL": true
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/image/Upload" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "cat.jpeg",
"url": "somewebsite.com/cat.png"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/ip/Lookup" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"ip": "93.148.214.31"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/location/Read" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"id": "1"
}'

View File

@@ -1,14 +0,0 @@
curl "https://api.m3o.com/v1/location/Save" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"entity": {
"id": "1",
"location": {
"latitude": 51.511061,
"longitude": -0.120022,
"timestamp": "1622802761"
},
"type": "bike"
}
}'

View File

@@ -1,12 +0,0 @@
curl "https://api.m3o.com/v1/location/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"center": {
"latitude": 51.511061,
"longitude": -0.120022
},
"numEntities": 10,
"radius": 100,
"type": "bike"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/notes/Create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"text": "This is my note",
"title": "New Note"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/notes/Delete" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"id": "63c0cdf8-2121-11ec-a881-0242e36f037a"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/notes/List" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/notes/Read" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"id": "63c0cdf8-2121-11ec-a881-0242e36f037a"
}'

View File

@@ -1,10 +0,0 @@
curl "https://api.m3o.com/v1/notes/Update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"note": {
"id": "63c0cdf8-2121-11ec-a881-0242e36f037a",
"text": "Updated note text",
"title": "Update Note"
}
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/otp/Generate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"id": "asim@example.com"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/otp/Validate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"code": "656211",
"id": "asim@example.com"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/postcode/Lookup" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"postcode": "SW1A 2AA"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/postcode/Random" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/postcode/Validate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"postcode": "SW1A 2AA"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/prayer/Times" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"location": "london"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/qr/Generate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"size": 300,
"text": "https://m3o.com/qr"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/quran/Chapters" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"language": "en"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/quran/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"query": "messenger"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/quran/Summary" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"chapter": 1
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/quran/Verses" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"chapter": 1
}'

View File

@@ -1,13 +0,0 @@
curl "https://api.m3o.com/v1/routing/Directions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"destination": {
"latitude": 52.529407,
"longitude": 13.397634
},
"origin": {
"latitude": 52.517037,
"longitude": 13.38886
}
}'

View File

@@ -1,13 +0,0 @@
curl "https://api.m3o.com/v1/routing/Eta" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"destination": {
"latitude": 52.529407,
"longitude": 13.397634
},
"origin": {
"latitude": 52.517037,
"longitude": 13.38886
}
}'

View File

@@ -1,13 +0,0 @@
curl "https://api.m3o.com/v1/routing/Route" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"destination": {
"latitude": 52.529407,
"longitude": 13.397634
},
"origin": {
"latitude": 52.517037,
"longitude": 13.38886
}
}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/rss/Add" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"category": "news",
"name": "bbc",
"url": "http://feeds.bbci.co.uk/news/rss.xml"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/rss/Feed" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "bbc"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/rss/List" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/rss/Remove" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"name": "bbc"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/sentiment/Analyze" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"text": "this is amazing"
}'

View File

@@ -1,8 +0,0 @@
curl "https://api.m3o.com/v1/sms/Send" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"from": "Alice",
"message": "Hi there!",
"to": "+447681129"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/stock/History" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"date": "2020-10-01",
"stock": "AAPL"
}'

View File

@@ -1,10 +0,0 @@
curl "https://api.m3o.com/v1/stock/OrderBook" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"date": "2020-10-01",
"end": "2020-10-01T11:00:00Z",
"limit": 3,
"start": "2020-10-01T10:00:00Z",
"stock": "AAPL"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/stock/Price" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "AAPL"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/stock/Quote" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"symbol": "AAPL"
}'

View File

@@ -1,11 +0,0 @@
curl "https://api.m3o.com/v1/stream/Publish" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"message": {
"id": "1",
"type": "signup",
"user": "john"
},
"topic": "events"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/stream/Subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"topic": "events"
}'

View File

@@ -1,6 +0,0 @@
curl "https://api.m3o.com/v1/sunnah/Books" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"collection": "bukhari"
}'

View File

@@ -1,7 +0,0 @@
curl "https://api.m3o.com/v1/sunnah/Chapters" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"book": 1,
"collection": "bukhari"
}'

View File

@@ -1,4 +0,0 @@
curl "https://api.m3o.com/v1/sunnah/Collections" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

Some files were not shown because too many files have changed in this diff Show More