Reward-Based Recycling Tracker
  1. BG Task & Python server
Reward-Based Recycling Tracker
  • User
    • Get Profile
      GET
  • Auth
    • Signup
      POST
    • Login
      POST
  • Async Task
    • Storage
      • Get Signed Url
    • BG Task & Python server
      • Py - Get Image Hash
        POST
      • Submission Process
        POST
  • App
    • Submission Process Copy
      POST
  • Email API
    • Success Email
      POST
    • Failure Email
      POST
  1. BG Task & Python server

Py - Get Image Hash

Developing
POST
https://reward-based-recycling-backend-python-1.onrender.com/api/process-image/

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    // "image_url": "https://github.com/ianare/exif-samples/raw/master/jpg/gps/DSCN0021.jpg",
    // "image_url": "https://cdn.file0.dev/lv8myh5ts6trdouijyweucja.JPG",
    // "image_url": "https://hungry-meh.s3.ap-south-1.amazonaws.com/test/DSC_0261.JPG",
    "image_url": "https://storage.googleapis.com/dev-learn/cdbpbEGez6CMYP314iNuiE.png"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://reward-based-recycling-backend-python-1.onrender.com/api/process-image/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    // "image_url": "https://github.com/ianare/exif-samples/raw/master/jpg/gps/DSCN0021.jpg",
    // "image_url": "https://cdn.file0.dev/lv8myh5ts6trdouijyweucja.JPG",
    // "image_url": "https://hungry-meh.s3.ap-south-1.amazonaws.com/test/DSC_0261.JPG",
    "image_url": "https://storage.googleapis.com/dev-learn/cdbpbEGez6CMYP314iNuiE.png"
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-02-09 13:38:15
Previous
Get Signed Url
Next
Submission Process
Built with