Comments (13)
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.
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.
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.
@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.
@Mahmoudz, I can not solve that yet. please help me.
from apiato.
@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.
@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.
@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.
@ahmadbadpey I will check that. Do you have the latest version of Hello Api?!
from apiato.
@Mahmoudz , Yes I'm using v0.3.0.
from apiato.
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.
@Mahmoudz :any update on this issue?
from apiato.
@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)
- Composer require problem with requirements
- Installing on cPanel HOT 1
- Search is not working in RequestCriteria HOT 2
- Laravel Passport PKCE HOT 2
- microservice projects HOT 2
- Add Laravel 10 support HOT 6
- Swagger Generator HOT 2
- Your requirements could not be resolved to an installable set of packages
- how to handle relationship HOT 3
- UUID , instead of Hashed Id
- Hash ids error when using "in" operator HOT 2
- Cli generator does not support `criteria` currently
- Why i am getting "Welcome to Apiato" message even after specifying route end point HOT 1
- apiato:apidoc command throw ProcessFailedException Error HOT 9
- API Test Error: "The requested Resource was not found." HOT 5
- Custom Model primaryKey not working! HOT 2
- Installation Error via Composer
- No hint path defined for [mail] HOT 1
- Invalid key supplied HOT 2
- Repository delete() ModelNotFoundException is never thrown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiato.