Ok what you facing the issue?

|
Arjun Kg 2022-05-17 18:23:08
Api is working
anujrock1 2022-05-17 18:24:28
Arjun Kg 2022-05-17 18:22:56
When I remove middleware

Add middleware, and try and send ss

anujrock1 2022-05-17 18:27:36
Add in header, content type = application/json
Accept = application/json

This redirecting you to log in page, it’s mean unauthorized

Arjun Kg 2022-05-17 18:28:13
I ADD this
Arjun Kg 2022-05-17 18:28:24
Also
Arjun Kg 2022-05-17 18:28:59
In header
anujrock1 2022-05-17 18:32:13
Then?
Arjun Kg 2022-05-17 18:32:33
Same error come
Arjun Kg 2022-05-17 18:33:02
Sry
anujrock1 2022-05-17 18:33:09
This?
anujrock1 2022-05-17 18:33:56
Unauthorised error
Arjun Kg 2022-05-17 18:34:03
Sss
Arjun Kg 2022-05-17 18:34:20
In bearer I send my auth token
Arjun Kg 2022-05-17 19:02:19
Tell me
anujrock1 2022-05-17 19:10:43
Arjun Kg 2022-05-17 18:34:20
In bearer I send my auth token

Check config auth.php file

But your token is not getting validated

jmiiiiiiiiii 2022-05-17 19:13:00
shabby_yeah06 2022-05-17 16:54:02
😅I mean if someone would explain me where to start

Start from html css js and php basics then build small projects

Mohudoom Naina 2022-05-17 19:21:56
Arjun Kg 2022-05-17 17:38:03
For user id

users table

Arjun Kg 2022-05-17 19:22:54
Sss
volley1000 2022-05-17 19:22:57
jmiiiiiiiiii 2022-05-17 19:13:00
Start from html css js and php basics then build small projects

well my intership straight up gave me php and i don’t know anything and i’m stuck in a code since 2days🥲

jmiiiiiiiiii 2022-05-17 19:24:53
volley1000 2022-05-17 19:22:57
well my intership straight up gave me php and i don’t know anything and i’m stuck in a code since 2days🥲

Means

Mohudoom Naina 2022-05-17 19:25:01
Arjun Kg 2022-05-17 19:22:54
Sss

Ok what you facing the issue?

volley1000 2022-05-17 19:26:28
jmiiiiiiiiii 2022-05-17 19:24:53
Means

means i didn’t start with anything as you said above i had to jump straight in php and it’s hard and coz of that i’m stuck in one code since 2days
would you help in php code.?

Eneshed 2022-05-17 19:41:28
volley1000 2022-05-17 19:22:57
well my intership straight up gave me php and i don’t know anything and i’m stuck in a code since 2days🥲

Where is giving you problem?

volley1000 2022-05-17 19:47:41
Eneshed 2022-05-17 19:41:28
Where is giving you problem?

database connected but problem in insert code

jmiiiiiiiiii 2022-05-17 20:42:08
volley1000 2022-05-17 19:26:28
means i didn’t start with anything as you said above i had to jump straight in php and it’s hard and coz of that i’m stuck in one code since 2days
would you help in php code.?

Yeah sure

jmiiiiiiiiii 2022-05-17 20:42:23
volley1000 2022-05-17 19:47:41
database connected but problem in insert code

Upload here peoples are there

volley1000 2022-05-17 20:42:57
codeslide-76459.jpg

volley1000 2022-05-17 20:42:58
codeslide-76460.jpg

volley1000 2022-05-17 20:42:59
codeslide-76461.jpg

volley1000 2022-05-17 20:43:09
i completed till this with yt help and it was going ok
volley1000 2022-05-17 20:44:11
codeslide-76463.jpg
first insert try code
volley1000 2022-05-17 20:44:12
codeslide-76464.jpg
2nd insert try code coz i didn’t which one was more correct
volley1000 2022-05-17 20:44:54
in this insert process code isn’t working probably coz no data is inserted in database.!
Arjun Kg 2022-05-17 20:45:55
I can help
saar_dev 2022-05-17 21:01:17
first, don’t mix html with php code, separate it into layers, use patterns design
|