sepahr
  1. Users
sepahr
  • profile
    • Providers
      • Increment provider page view count
      • getProviderNotifyCell
      • Update provider fields
      • Store a provider
      • get providers information
    • Users
      • get image
        GET
      • upload image
        POST
      • Get doctor master slug
        GET
      • insert new user
        POST
      • get users informations
        GET
      • get user information
        GET
      • update user information
        PATCH
      • send otp to verify user new cell
        PATCH
    • Memberships
      • deleteMembership
      • Insert membership record
      • Get membership records
    • Providers Specialities
      • delete a record of providers specialities
      • Update speciality alongside academic degree of a provider
      • Store list of specialities alongside academic degree for a provider
      • Get list of provider's specialities
    • SpecialitiesTags
      • tags of spciality
  • sepahr
    • anonymous call
      POST
    • calls search
      POST
    • Download Call Recording
      POST
  1. Users

upload image

Testing
POST
https://apigw.paziresh24.com/v1/rokhnama/upload/image
Just send the cookie containing your token along with a binary file to this api so that the new photo will be placed in your profile.
This can be seen immediately
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apigw.paziresh24.com/v1/rokhnama/upload/image' \
--header 'Cookie: token=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' \
--header 'Content-Type: application/octet-stream' \
--data-binary '@cmMtdXBsb2FkLTE3MjI0MzQzOTg5MjEtNA==/paziresh24 ssoidbnljfgisbn.jpg'
Response Response Example
{
    "message": "string"
}

Request

Cookie Params
token
string 
optional
Example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Body Params application/octet-stream
Uploaded File

Responses

🔴500Server Error
application/json
Body
message
string 
required
Modified at 2024-07-31 14:36:17
Previous
get image
Next
Get doctor master slug
Built with