Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest APi? #84

Open
theone2277 opened this issue Nov 18, 2023 · 5 comments
Open

Rest APi? #84

theone2277 opened this issue Nov 18, 2023 · 5 comments

Comments

@theone2277
Copy link

theone2277 commented Nov 18, 2023

Will it work as a rest api if I host it in flask template in replit?

If yes, can I get some specific instructions?

@Randomboiii03
Copy link

Will it work as a rest api if I host it in flask template in replit?

If yes, can I get some specific instructions?

Yes, it works I tried making API using Flask

@theone2277
Copy link
Author

Will it work as a rest api if I host it in flask template in replit?
If yes, can I get some specific instructions?

Yes, it works I tried making API using Flask

I also tried but I am not that familiar with that. Can you please share the project?
If not, at least how I can do it like what important changes I need to make to the code?

Mine got can't send messages errors

@Randomboiii03
Copy link

Randomboiii03 commented Nov 19, 2023

Will it work as a rest api if I host it in flask template in replit?
If yes, can I get some specific instructions?

Yes, it works I tried making API using Flask

I also tried but I am not that familiar with that. Can you please share the project? If not, at least how I can do it like what important changes I need to make to the code?

Mine got can't send messages errors

check my project named Flasks in my repo, idk if it will helps you😅

@theone2277
Copy link
Author

Will it work as a rest api if I host it in flask template in replit?
If yes, can I get some specific instructions?

Yes, it works I tried making API using Flask

I also tried but I am not that familiar with that. Can you please share the project? If not, at least how I can do it like what important changes I need to make to the code?
Mine got can't send messages errors

check my project named Flasks in my repo, idk if it will helps you😅

So, I forked it in replit. And how does it work, like there is no documentation on your project. So, can you tell me how to use it? like idk where to put the cookies. Tried hardcoding cookies but then got

{
"errorMessage": "Client error, please try again later.",
"isError": true
}

Do I need additional files or what?

@Randomboiii03
Copy link

Randomboiii03 commented Nov 19, 2023

Will it work as a rest api if I host it in flask template in replit?
If yes, can I get some specific instructions?

Yes, it works I tried making API using Flask

I also tried but I am not that familiar with that. Can you please share the project? If not, at least how I can do it like what important changes I need to make to the code?
Mine got can't send messages errors

check my project named Flasks in my repo, idk if it will helps you😅

So, I forked it in replit. And how does it work, like there is no documentation on your project. So, can you tell me how to use it? like idk where to put the cookies. Tried hardcoding cookies but then got

{ "errorMessage": "Client error, please try again later.", "isError": true }

Do I need additional files or what?

oh, I didn't add documentation yet 'cause it's personal proj😅, add cookie as query param cookie = request.args.get("cookie"), try it to run in localhost first and do POST using Postman like this http://127.0.0.1:5000/generate?cookie=<your-cookie>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants