Git Product home page Git Product logo

Comments (3)

BastelPichi avatar BastelPichi commented on September 25, 2024

You need the following headers:

    "user-agent": "okhttp/4.12.0",
    "x-app-version": "3.231.0",
    "x-request-id": "whatever"

other endpoints might need them too now.

from wobike.

JimmyZhan1213 avatar JimmyZhan1213 commented on September 25, 2024

I am currently experiencing the same problem. When I visit the link https://api.voiapp.io/v1/auth/verify/phone directly, it prompts a 404 page. When I change v1 to v2, the page prompt changes to 405. However, after the code r = requests.post("https://api.voiapp.io/v2/auth/verify/phone", json=data, headers=headers), I try to print the r.text and r .status_code contents and what comes up is 401. I don't know how to do the latest version of validation and would sincerely appreciate your help. I'm not sure if it's related to the content of the header, currently my header is:
headers = {
"x-app-version": "3.231.0",
"x-os": "Android",
"x-os-version": "28",
"model": "Pixel 3a XL",
"brand": "google",
"manufacturer": "Google",
"x-app-name": "Rider",
"user-agent": "okhttp/4.12.0",
"x-request-id": "whatever"
}

from wobike.

BastelPichi avatar BastelPichi commented on September 25, 2024

I am currently experiencing the same problem. When I visit the link https://api.voiapp.io/v1/auth/verify/phone directly, it prompts a 404 page. When I change v1 to v2, the page prompt changes to 405. However, after the code r = requests.post("https://api.voiapp.io/v2/auth/verify/phone", json=data, headers=headers), I try to print the r.text and r .status_code contents and what comes up is 401. I don't know how to do the latest version of validation and would sincerely appreciate your help. I'm not sure if it's related to the content of the header, currently my header is: headers = { "x-app-version": "3.231.0", "x-os": "Android", "x-os-version": "28", "model": "Pixel 3a XL", "brand": "google", "manufacturer": "Google", "x-app-name": "Rider", "user-agent": "okhttp/4.12.0", "x-request-id": "whatever" }

This wont work for obtaining an token. See this issue.

from wobike.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.