feat: initial
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
info:
|
||||
name: Cafe Login
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: https://pardakht.cafebazaar.ir/devapi/v2/auth/token/
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: grant_type
|
||||
type: text
|
||||
value: authorization_code
|
||||
- name: code
|
||||
type: text
|
||||
value: sz6gWR67oLB89ATd0HygU97aMF7CJB
|
||||
- name: client_id
|
||||
type: text
|
||||
value: CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
- name: client_secret
|
||||
type: text
|
||||
value: t1Go90qbL2KoS0Q7hZdVk2NkAs2MwyC8gqHy5ATr2Nh35cfnJTa4MYP1iqrt
|
||||
- name: redirect_uri
|
||||
type: text
|
||||
value: https://www.google.com/
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,28 @@
|
||||
info:
|
||||
name: Get Cafe Code
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: https://pardakht.cafebazaar.ir/devapi/v2/auth/authorize/?response_type=code&access_type=offline&redirect_uri=https://www.google.com/&client_id=CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
params:
|
||||
- name: response_type
|
||||
value: code
|
||||
type: query
|
||||
- name: access_type
|
||||
value: offline
|
||||
type: query
|
||||
- name: redirect_uri
|
||||
value: https://www.google.com/
|
||||
type: query
|
||||
- name: client_id
|
||||
value: CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Get Cafe Configs
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/cafe-configs"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,30 @@
|
||||
info:
|
||||
name: Store Cafe Configs
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/cafe-configs"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: client_id
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
- name: client_secret
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
- name: access_token
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
- name: refresh_token
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,34 @@
|
||||
info:
|
||||
name: Update Cafe Configs
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/cafe-configs/:id"
|
||||
params:
|
||||
- name: id
|
||||
value: "1"
|
||||
type: path
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: client_id
|
||||
type: text
|
||||
value: CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
- name: client_secret
|
||||
type: text
|
||||
value: t1Go90qbL2KoS0Q7hZdVk2NkAs2MwyC8gqHy5ATr2Nh35cfnJTa4MYP1iqrt
|
||||
- name: access_token
|
||||
type: text
|
||||
value: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTA4Njg4NjIsInVzZXJfaWQiOjUyNzIzNjI0LCJzY29wZXMiOlsiYW5kcm9pZHB1Ymxpc2hlciJdfQ.EGozfw4C4r5dq7vWnWK5oP8D7wWY8rc7QMsoGay7IU0skQWk26bW0SKoZu_4qRYYVmZ9zz_TkhNsRiFLUsTbPEn5LuvTlfoHLqztbPJy_7cLTGloeMERYXxtx6eQMxWLCLNpYGtx2H9WJZjz1XmpKUJHv884CWCxu98jVLRsxASJJ4fOsGO0CSGT9geApb-mFVkFZlzv7KQK4OA7TiOGSDImU0CDps2h5RF12v36i3kf5pgBeYz_Owyk4IF1lVrx086xZDPI-kycCllIOxQOY5l9gCBR2JlBPipfczAGT-dDSdcs-7BAKLaUWwR_IIMpqdxYFEUEQDudADZMzp7-OijTVmHxa7h-iEvjd4DyoNmTsip6ndGSUb8N4g7cztDyup3Lv7RobO3_DEw5Gx0t-zkcIWVYkkp3ObsO_zICWlhfmWoCh_LdXK_S6xd_rNW6ksnsF56ma1u_LlvyYrTJL_BGdJesIBhqECZGjeTtmHmiQqWX2fdV3qwVlM2bBBTDkBcQkSxGPiXo2j5GwvkAqinE3_HnPuRyQ-UPiXZw0aRvL6M06WkGs8IsDxETtd2Kb7bnvDu3T-K4b5LI4zzbgdScYdRL2RI_5bb7LkDuRTMGhuKYSBNTJGaT2rPNTx2rRvea2N7uKkfgtKz8JD_K1hb-4tBxrEBzv7ALFsbkC5Y
|
||||
- name: refresh_token
|
||||
type: text
|
||||
value: GVL9SFUtdcJL7p6257KFNE9Ri7BH70
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Cafe Configs
|
||||
type: folder
|
||||
seq: 6
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
Reference in New Issue
Block a user