That;s not quite what I mean 
<https://lh3.googleusercontent.com/-cbCMoxAcfbo/WkJVdapVb3I/AAAAAAAAAG4/N9J7hssI9A8z7daVfHi-t08--T6vSUxvwCLcBGAs/s1600/Screen%2BShot%2B2017-12-26%2Bat%2B8.57.44%2BAM.png>

See above, there's a XHR (ajax) request going to reddit and you can see the 
headers of the request/response as well as the data sent back.  What do you 
see of this when you call your search api?

Because it seems to me your request isn't being hit in the server from the 
client code





On Monday, December 25, 2017 at 8:28:37 PM UTC-5, Sajid Samsad wrote:
>
> To @Jason
>>
>> 1) Yeah. I used the url from the browser and it worked. Actually the 
> whole url is
> localhost:8000//api.alif-marine.com/search/products?q=product_name
> As
> ?q=whatever I type 
> is supposed to be added by javascript so when I am manually doing this 
> from my browser, I am using the above url.
>
> 2) Well I used `//` but didn't work
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/695127be-15d3-4224-a561-37719385850d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to