How can i show my laravel site content to multiple domains?

|
Asish K Antony 2021-07-05 15:51:05
Relaxed Guy 2021-07-05 14:26:08
Guys how to accept json request

When sending request
Set Accept header as application/json

Nikita Saxena 2021-07-05 16:10:48
How can i show my laravel site content to multiple domains?
Relaxed Guy 2021-07-05 16:17:58
Asish K Antony 2021-07-05 15:51:05
When sending request
Set Accept header as application/json

Man I did this

Relaxed Guy 2021-07-05 16:18:09
I get an empty array
Software_devel0per 2021-07-05 16:27:18
laravel_discuss-87519.jpg
why is it empty?
Software_devel0per 2021-07-05 16:27:19
laravel_discuss-87521.jpg

Software_devel0per 2021-07-05 16:27:19
laravel_discuss-87520.jpg

Asish K Antony 2021-07-05 16:33:45
Show the headers
Asish K Antony 2021-07-05 16:34:04
Content type header to application/json
Software_devel0per 2021-07-05 16:43:36
Asish K Antony 2021-07-05 16:33:45
Show the headers

laravel_discuss-87524.jpg
is it ?

WahidinAji 2021-07-05 17:50:42
Software_devel0per 2021-07-05 16:43:36
is it ?

Response Headers. full ss??

WahidinAji 2021-07-05 17:53:19
’bout what?
Software_devel0per 2021-07-05 17:54:46
WahidinAji 2021-07-05 17:50:42
Response Headers. full ss??

laravel_discuss-87531.jpg
bro not working these are

Software_devel0per 2021-07-05 17:55:13
Software_devel0per 2021-07-05 17:54:46
bro not working these are

laravel_discuss-87533.jpg

WahidinAji 2021-07-05 17:56:19
Software_devel0per 2021-07-05 17:54:46
bro not working these are

no no no, i mean

WahidinAji 2021-07-05 17:56:34
Software_devel0per 2021-07-05 16:43:36
is it ?

this ss

Software_devel0per 2021-07-05 17:57:22
WahidinAji 2021-07-05 17:56:34
this ss

laravel_discuss-87537.jpg

WahidinAji 2021-07-05 17:57:25
Software_devel0per 2021-07-05 17:54:46
bro not working these are

but, it should be working.

Software_devel0per 2021-07-05 17:58:04
WahidinAji 2021-07-05 17:57:25
but, it should be working.

not working πŸ˜•πŸ˜•

Software_devel0per 2021-07-05 17:58:23
help me pls
WahidinAji 2021-07-05 17:58:27
Software_devel0per 2021-07-05 17:54:46
bro not working these are

hmm can u dd() before return response?

Bhuvi100 2021-07-05 17:58:46
Asish K Antony 2021-07-05 14:20:07
Hi I have a model observer which creates a pdf when an order is placed

There is a pivot table between order and product

I first create an order and then attach products to that pivot table

I need to run the pdf generation function only after running the attach method

How can we do that ???

Thanks in advance

Laravel has a “created” model observer if I’m not wrong

Software_devel0per 2021-07-05 18:00:38
WahidinAji 2021-07-05 17:58:27
hmm can u dd() before return response?

laravel_discuss-87544.jpg

Software_devel0per 2021-07-05 18:00:38
WahidinAji 2021-07-05 17:58:27
hmm can u dd() before return response?

laravel_discuss-87543.jpg
is it?

WahidinAji 2021-07-05 18:01:56
yes, hmm are u already testing in postman?
Software_devel0per 2021-07-05 18:03:56
WahidinAji 2021-07-05 18:01:56
yes, hmm are u already testing in postman?

laravel_discuss-87546.jpg
it works when I take it to the commentary

Software_devel0per 2021-07-05 18:03:57
WahidinAji 2021-07-05 18:01:56
yes, hmm are u already testing in postman?

laravel_discuss-87547.jpg

WahidinAji 2021-07-05 18:05:31
Software_devel0per 2021-07-05 18:03:57

ohhh maybe u can try not using orWhere, only where

Software_devel0per 2021-07-05 18:06:00
WahidinAji 2021-07-05 18:05:31
ohhh maybe u can try not using orWhere, only where

how?

WahidinAji 2021-07-05 18:07:07
laravel_discuss-87550.jpg

Software_devel0per 2021-07-05 18:09:09
laravel_discuss-87551.jpg
both did not workπŸ˜•
Asish K Antony 2021-07-05 18:24:14
Software_devel0per 2021-07-05 18:09:09
both did not workπŸ˜•

Why are you using with and Join

Asish K Antony 2021-07-05 18:24:59
Use whereHas
2021-07-05 18:39:16
2020-11-23 10:06:00
Hello,
I wanna ask u About laravel
How to solve error : target class [AppControllersAuthController] does not exist

I already try YouTube tutorial but still error πŸ₯Ί
Thanks

Laravel 8 hai kya

shinejemi 2021-07-05 19:47:39
Any help material or links for multi vendor e-commerce like Amazon with invoice everything for a startup
|