GithubHelp home page GithubHelp logo

404 not found about apiato HOT 13 CLOSED

apiato avatar apiato commented on July 19, 2024
404 not found

from apiato.

Comments (13)

rayoplateado avatar rayoplateado commented on July 19, 2024 1

10 minutes. Sometimes I need to write my question to be conscious about how to solve the problem.

It's two variables in .env, APP_URL and API_DOMAIN. I forget to change API_DOMAIN to my own domain name.

Now seems to work perfectly.

from apiato.

ahmadbadpey avatar ahmadbadpey commented on July 19, 2024 1

This is my .env file content :

APP_URL=hello.dev
APP_FULL_URL=http://hello.dev
API_DOMAIN=api.hello.dev

But every time that I send required values to /register , 404 Not Found returned.
why?

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

Cool I'm glad you are using it and would love to hear your feedback :)

If you have any question drop me a direct message on larachat @mahmoud_zalt

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

@ahmadbadpey sorry for the delayed response, was very busy in the last 2 weeks..

Is this solved now, or you still need some help?!

from apiato.

ahmadbadpey avatar ahmadbadpey commented on July 19, 2024

@Mahmoudz, I can not solve that yet. please help me.

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

@ahmadbadpey if you are trying to run curl -X POST -H "Accept: application/json" -F "[email protected]" -F "password=secret#pass" -F "name=John Doe" "http://api.mega.pro/register" maybe it's outdated now, I'll have to update that part of the documentation..

Your problem looks more like configs problem, I cannot tell what's wrong, I'll be manually testing all the code hopefully in the next 3 weeks. But I can advise you to re-check your host file, as the subdomain needs to be defined there.

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

@ahmadbadpey this part of the documentation is now updated visit here. The endpoint have became http://api.hello.dev/user/register instead of http://api.hello.dev/register

from apiato.

ahmadbadpey avatar ahmadbadpey commented on July 19, 2024

@Mahmoudz , I tried that but a new problem occurred.

I think that configurations are not Problematic beacause when send request to http://api.hello.dev/ the "Welcome to Hello API." is shown.

Of course I am using Postman as client to send request and now when send email, password, name data to http://api.hello.dev/user/register bellow errror is shown :

{
  "message": "syntax error, unexpected '->' (T_OBJECT_OPERATOR)",
  "code": 4,
  "status_code": 500
}

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

@ahmadbadpey I will check that. Do you have the latest version of Hello Api?!

from apiato.

ahmadbadpey avatar ahmadbadpey commented on July 19, 2024

@Mahmoudz , Yes I'm using v0.3.0.

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

Oh I currently only support the master branch. Until I make the first stable release.. I won't be able to find out why you are having this problem because things have changed a lot since then, but once I reach the stable release, there shouldn't be major changes and will have multiple versions so you we can all track everything.. Thanks for using Hello API. Best,

from apiato.

rockers007 avatar rockers007 commented on July 19, 2024

@Mahmoudz :any update on this issue?

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

@rockers007 the 404 problem is almost always configuration issue form the user side. I will put more effort in making this easier and easier.

I saw ur other issue so I assume you solve it!? if not make sure the values in the .env file are matching your domain.

from apiato.

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.