mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
Commit from GitHub Actions (Generate Clients & Examples)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/address/LookupPostcode" \
|
||||
curl "http://localhost:8080/address/LookupPostcode" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/answer/Question" \
|
||||
curl "http://localhost:8080/answer/Question" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/cache/Decrement" \
|
||||
curl "http://localhost:8080/cache/Decrement" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
2
examples/cache/delete/curl/deleteAValue.sh
vendored
2
examples/cache/delete/curl/deleteAValue.sh
vendored
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/cache/Delete" \
|
||||
curl "http://localhost:8080/cache/Delete" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
2
examples/cache/get/curl/getAValue.sh
vendored
2
examples/cache/get/curl/getAValue.sh
vendored
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/cache/Get" \
|
||||
curl "http://localhost:8080/cache/Get" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/cache/Increment" \
|
||||
curl "http://localhost:8080/cache/Increment" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
2
examples/cache/set/curl/setAValue.sh
vendored
2
examples/cache/set/curl/setAValue.sh
vendored
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/cache/Set" \
|
||||
curl "http://localhost:8080/cache/Set" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/crypto/History" \
|
||||
curl "http://localhost:8080/crypto/History" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/crypto/News" \
|
||||
curl "http://localhost:8080/crypto/News" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/crypto/Price" \
|
||||
curl "http://localhost:8080/crypto/Price" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/crypto/Quote" \
|
||||
curl "http://localhost:8080/crypto/Quote" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/currency/Codes" \
|
||||
curl "http://localhost:8080/currency/Codes" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/currency/Convert" \
|
||||
curl "http://localhost:8080/currency/Convert" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/currency/Convert" \
|
||||
curl "http://localhost:8080/currency/Convert" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/currency/History" \
|
||||
curl "http://localhost:8080/currency/History" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/currency/Rates" \
|
||||
curl "http://localhost:8080/currency/Rates" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/db/Count" \
|
||||
curl "http://localhost:8080/db/Count" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/db/Create" \
|
||||
curl "http://localhost:8080/db/Create" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -12,10 +12,10 @@ func CreateArecord() {
|
||||
dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN"))
|
||||
rsp, err := dbService.Create(&db.CreateRequest{
|
||||
Record: map[string]interface{}{
|
||||
"age": 42,
|
||||
"isActive": true,
|
||||
"id": "1",
|
||||
"name": "Jane",
|
||||
"age": 42,
|
||||
},
|
||||
Table: "users",
|
||||
})
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/db/Delete" \
|
||||
curl "http://localhost:8080/db/Delete" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/db/Read" \
|
||||
curl "http://localhost:8080/db/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/db/Truncate" \
|
||||
curl "http://localhost:8080/db/Truncate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/db/Update" \
|
||||
curl "http://localhost:8080/db/Update" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/email/Send" \
|
||||
curl "http://localhost:8080/email/Send" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/emoji/Find" \
|
||||
curl "http://localhost:8080/emoji/Find" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/emoji/Flag" \
|
||||
curl "http://localhost:8080/emoji/Flag" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/emoji/Print" \
|
||||
curl "http://localhost:8080/emoji/Print" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/emoji/Send" \
|
||||
curl "http://localhost:8080/emoji/Send" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/evchargers/ReferenceData" \
|
||||
curl "http://localhost:8080/evchargers/ReferenceData" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/evchargers/Search" \
|
||||
curl "http://localhost:8080/evchargers/Search" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/evchargers/Search" \
|
||||
curl "http://localhost:8080/evchargers/Search" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/evchargers/Search" \
|
||||
curl "http://localhost:8080/evchargers/Search" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/event/Consume" \
|
||||
curl "http://localhost:8080/event/Consume" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/event/Publish" \
|
||||
curl "http://localhost:8080/event/Publish" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -12,9 +12,9 @@ func PublishAnEvent() {
|
||||
eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN"))
|
||||
rsp, err := eventService.Publish(&event.PublishRequest{
|
||||
Message: map[string]interface{}{
|
||||
"user": "john",
|
||||
"id": "1",
|
||||
"type": "signup",
|
||||
"user": "john",
|
||||
},
|
||||
Topic: "user",
|
||||
})
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/event/Read" \
|
||||
curl "http://localhost:8080/event/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/file/Delete" \
|
||||
curl "http://localhost:8080/file/Delete" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/file/List" \
|
||||
curl "http://localhost:8080/file/List" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/file/Read" \
|
||||
curl "http://localhost:8080/file/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/file/Save" \
|
||||
curl "http://localhost:8080/file/Save" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/forex/History" \
|
||||
curl "http://localhost:8080/forex/History" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/forex/Price" \
|
||||
curl "http://localhost:8080/forex/Price" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/forex/Quote" \
|
||||
curl "http://localhost:8080/forex/Quote" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/function/Call" \
|
||||
curl "http://localhost:8080/function/Call" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/function/Delete" \
|
||||
curl "http://localhost:8080/function/Delete" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/function/Deploy" \
|
||||
curl "http://localhost:8080/function/Deploy" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/function/Describe" \
|
||||
curl "http://localhost:8080/function/Describe" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/function/List" \
|
||||
curl "http://localhost:8080/function/List" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/geocoding/Lookup" \
|
||||
curl "http://localhost:8080/geocoding/Lookup" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/geocoding/Reverse" \
|
||||
curl "http://localhost:8080/geocoding/Reverse" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/gifs/Search" \
|
||||
curl "http://localhost:8080/gifs/Search" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/google/Search" \
|
||||
curl "http://localhost:8080/google/Search" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/helloworld/Call" \
|
||||
curl "http://localhost:8080/helloworld/Call" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/helloworld/Stream" \
|
||||
curl "http://localhost:8080/helloworld/Stream" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/holidays/Countries" \
|
||||
curl "http://localhost:8080/holidays/Countries" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/holidays/List" \
|
||||
curl "http://localhost:8080/holidays/List" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/id/Generate" \
|
||||
curl "http://localhost:8080/id/Generate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/id/Generate" \
|
||||
curl "http://localhost:8080/id/Generate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/id/Generate" \
|
||||
curl "http://localhost:8080/id/Generate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/id/Generate" \
|
||||
curl "http://localhost:8080/id/Generate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/id/Types" \
|
||||
curl "http://localhost:8080/id/Types" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/image/Convert" \
|
||||
curl "http://localhost:8080/image/Convert" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/image/Resize" \
|
||||
curl "http://localhost:8080/image/Resize" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/image/Resize" \
|
||||
curl "http://localhost:8080/image/Resize" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/image/Resize" \
|
||||
curl "http://localhost:8080/image/Resize" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/image/Upload" \
|
||||
curl "http://localhost:8080/image/Upload" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/image/Upload" \
|
||||
curl "http://localhost:8080/image/Upload" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/ip/Lookup" \
|
||||
curl "http://localhost:8080/ip/Lookup" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/location/Read" \
|
||||
curl "http://localhost:8080/location/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/location/Save" \
|
||||
curl "http://localhost:8080/location/Save" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/location/Search" \
|
||||
curl "http://localhost:8080/location/Search" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/mq/Publish" \
|
||||
curl "http://localhost:8080/mq/Publish" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/mq/Subscribe" \
|
||||
curl "http://localhost:8080/mq/Subscribe" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/notes/Create" \
|
||||
curl "http://localhost:8080/notes/Create" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/notes/Delete" \
|
||||
curl "http://localhost:8080/notes/Delete" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/notes/Events" \
|
||||
curl "http://localhost:8080/notes/Events" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/notes/List" \
|
||||
curl "http://localhost:8080/notes/List" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/notes/Read" \
|
||||
curl "http://localhost:8080/notes/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/notes/Update" \
|
||||
curl "http://localhost:8080/notes/Update" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/otp/Generate" \
|
||||
curl "http://localhost:8080/otp/Generate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/otp/Validate" \
|
||||
curl "http://localhost:8080/otp/Validate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/postcode/Lookup" \
|
||||
curl "http://localhost:8080/postcode/Lookup" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/postcode/Random" \
|
||||
curl "http://localhost:8080/postcode/Random" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/postcode/Validate" \
|
||||
curl "http://localhost:8080/postcode/Validate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/prayer/Times" \
|
||||
curl "http://localhost:8080/prayer/Times" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/qr/Generate" \
|
||||
curl "http://localhost:8080/qr/Generate" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/quran/Chapters" \
|
||||
curl "http://localhost:8080/quran/Chapters" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/quran/Search" \
|
||||
curl "http://localhost:8080/quran/Search" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/quran/Summary" \
|
||||
curl "http://localhost:8080/quran/Summary" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/quran/Verses" \
|
||||
curl "http://localhost:8080/quran/Verses" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/routing/Directions" \
|
||||
curl "http://localhost:8080/routing/Directions" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/routing/Eta" \
|
||||
curl "http://localhost:8080/routing/Eta" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/routing/Route" \
|
||||
curl "http://localhost:8080/routing/Route" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/rss/Add" \
|
||||
curl "http://localhost:8080/rss/Add" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/rss/Feed" \
|
||||
curl "http://localhost:8080/rss/Feed" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/rss/List" \
|
||||
curl "http://localhost:8080/rss/List" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{}'
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/rss/Remove" \
|
||||
curl "http://localhost:8080/rss/Remove" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/sentiment/Analyze" \
|
||||
curl "http://localhost:8080/sentiment/Analyze" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/sms/Send" \
|
||||
curl "http://localhost:8080/sms/Send" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
curl "https://api.m3o.com/v1/stock/History" \
|
||||
curl "http://localhost:8080/stock/History" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_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