Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

API routes problem #35

Closed
simonschaufi opened this issue Dec 22, 2018 · 2 comments
Closed

API routes problem #35

simonschaufi opened this issue Dec 22, 2018 · 2 comments
Labels

Comments

@simonschaufi
Copy link

simonschaufi commented Dec 22, 2018

Hi!
I use your crawler for quite some time already and thought I already had a working version but now coming back to the project again with the latest release (2.1.0). I have the following problem.

I can register, sign in and click on the new search button but entering a url in the form and submitting it will give me the following error:

Request URL: http://crawler.test/api/v1/users//searches
Request Method: POST
Status Code: 404 Not Found

I have no idea where the double slashes are coming from because all other routes are correct.

The other thing i noticed is that on every request I also see in the browser debug panel the following error:

Request URL: http://crawler.test/api/v1/users/me
Request Method: GET
Status Code: 401 Unauthorized

Using homestead with php 7.2.

Do you have a glue where the problem could be? Of course I followed all the installation instructions.

@hedii hedii added the bug label Jan 24, 2019
@hedii hedii closed this as completed in 91764a7 Jan 24, 2019
@hedii
Copy link
Owner

hedii commented Jan 24, 2019

@simonschaufi it should be fixed now. Sorry for the delay.

@webdev-pw
Copy link

Hey, i have the same errors in my new installation.
What could be the reason?

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

No branches or pull requests

3 participants