mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
remove curl files
This commit is contained in:
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
7
curl/cache/decrement/decrementAValue.sh
vendored
7
curl/cache/decrement/decrementAValue.sh
vendored
@@ -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
|
|
||||||
}'
|
|
||||||
6
curl/cache/delete/deleteAValue.sh
vendored
6
curl/cache/delete/deleteAValue.sh
vendored
@@ -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"
|
|
||||||
}'
|
|
||||||
6
curl/cache/get/getAValue.sh
vendored
6
curl/cache/get/getAValue.sh
vendored
@@ -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"
|
|
||||||
}'
|
|
||||||
7
curl/cache/increment/incrementAValue.sh
vendored
7
curl/cache/increment/incrementAValue.sh
vendored
@@ -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
|
|
||||||
}'
|
|
||||||
7
curl/cache/set/setAValue.sh
vendored
7
curl/cache/set/setAValue.sh
vendored
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/currency/Codes" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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:"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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:"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/evchargers/ReferenceData" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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": {}
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/function/List" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/holidays/Countries" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/id/Types" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/notes/List" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/postcode/Random" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
curl "https://api.m3o.com/v1/rss/List" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
|
||||||
-d '{}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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"
|
|
||||||
}'
|
|
||||||
@@ -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
Reference in New Issue
Block a user